Get all Emails used in Journey Builder in Salesforce Marketing Cloud

Поделиться
HTML-код
  • Опубликовано: 3 дек 2024

Комментарии • 14

  • @DanielaCruzAzcoitia
    @DanielaCruzAzcoitia 4 месяца назад

    Hi! Is there a way to also get the push notification and sms used inside a journey?

  • @QsOgxR3L4PS3
    @QsOgxR3L4PS3 Год назад

    I noticed this also pulls in Single Send Journeys. Is there a way to exclude Single Send Journeys?

  • @Atumadegroen
    @Atumadegroen Год назад +1

    Great video, thanks! About the query, why are you using sub queries for _job and _journey instead of just joining the tables themselves?

    • @CameronRobert
      @CameronRobert  Год назад +4

      Correct Arthur, those and the JourneyActivity data views could have been directly joined. I chose to use a sub query for the _sent count(*) group by and thought it would be easier for non-SQL proficient users if I kept the sub query method consistent for all of the joins.
      I’m planning to record an intro to SQL video in the future 🙂

  • @MarkFreestone
    @MarkFreestone 7 месяцев назад

    I don't think the eventdate is working for me in this SQL. I'm returning records much older than 90 days.

  • @JenniferNavarro-c3q
    @JenniferNavarro-c3q Год назад

    If I want to pull all EMAIL ADDRESSES for my journeys how can I add that to this code?

  • @sandippathade7199
    @sandippathade7199 Год назад

    Helpful thanks

  • @sandippathade7199
    @sandippathade7199 Год назад

    Is it possible you to create video on Automation start and stop using SSJS? Which is helpful because not having any others solutions for that. Thanks

  • @AdamSpriggs
    @AdamSpriggs Год назад

    Using eventDate >= convert(date, getDate()-90) would properly respect the time portion of the eventDate dateTime data type.

    • @CameronRobert
      @CameronRobert  Год назад

      Well spotted Adam! I also forgot to add local to system time considerations (for those wanting local time midnight-to-midnight).
      I think working with dates in SQL needs to move up my videos to make list!

  • @RajuKumar-po1pw
    @RajuKumar-po1pw Год назад

    How to write this query for selected journey

    • @CameronRobert
      @CameronRobert  Год назад

      All you need is the JourneyID or VersionID to be added as a WHERE clause in the SQL Statement. You could also use the "JourneyName" value if you think the journey may get updated or republished.