I've been asked to create an event registration confirmation email that'll be part of a customer journey, which will start after someone registers for an event.
This e-mail needs to contain both data from the event itself (title, date, location) and for each of the event's sessions that the attendee registered for (title, start time, end time, building name).
First I attempted adding a loop (which I 'borrowed' from the event QR-code block) to display the proper event's name/title, but that one already turned into an issue: I can't figure out how to display more than the ID of the event registration itself, or the ID of the event. Any data from the event itself seems inaccessible.
<!-- {{#each contact.msevtmgt_eventregistration_contact_msevtmgt_contactid }} -->
<!-- {{#if (eq this.msevtmgt_eventid 'd95ed9c1-1abc-46d3-afb4-96fd536ca04e')}} -->{{this.msevtmgt_eventid}}<!-- {{/if}} -->
<!-- {{/each}} -->
I've also attempted adding a loop that gets the session data based on the event's GUID, similar to the above, but that only gives me errors for attempting to display data from linked records:
<!-- {{#each contact.msevtmgt_sessionregistration_contact_msevtmgt_contactid }} -->
<!-- {{#if (eq this.msevtmgt_event 'c6564fea-dc96-4de6-b51e-a4abd4341d16')}} -->
<span><strong>{{this.msevtmgt_sessionid.msevtmgt_name}}</strong><br>
Start: {{this.msevtmgt_sessionid.msevtmgt_starttime}}<br>
End: {{this.msevtmgt_sessionid.msevtmgt_endtime}}<br>
Building: {{this.msevtmgt.buildingid.msevtmgt_name}}</span>
<!-- {{/if}} -->
<!-- {{/each}} -->
Has anyone been able to get something like this working or are we asking the Marketing module to do more than it's capable of?
Thanks. Your suggestion is nice when you don't know your audience already, but won't work for events where already-known contacts will be registering.
Unfortunately the comment by Shravan Suri in the post you linked to also isn't very helpful, as we don't want to duplicate data from Events to Content settings or Event registrations because any kind of duplication is prone to errors and simply shouldn't be necessary. Hopefully Microsoft will soon release a more 'mature' version of the marketing solution that's capable of more than just the most basic of use-cases.
Hi,
Please refer to my answer in the following issue:
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156