Skip to main content

Return to TX Community

Liaison

Creating a Cancel Link in your Events Email

You can add the content below to any Event Email Template to provide users a link for Cancelling their Event Registration.

Before you Begin

Notes:

  • For versions before Events 6, when given an event-specific link with a CID after using it to register initially, you won't be editing your existing registration if you click that same link again. You'll need a link to the myevents page to cancel your registration.
  • You should NOT use a cancellation email for Events with more than 1,000 registrants, as Salesforce will not send out more than 1,000 triggered emails PER ACTION. If you need to cancel an event with 1,000+ registrants, you should create an email broadcast canceling the event.

For Events

This link will direct the user to their Events on your Events site.

Example:

Should your plans change, click here to cancel your registration: <a href="event_site/events#/myevents?cid={!Contact.Id}&k={!Contact.TargetX_Base__Access_Key__c} 

You must replace the event_site with the URL of your Events site.

Finding your Events Site Name

  1. Navigate to Setup and search for Sites. 
  2. Click your Events site. 
  3. Copy the Site URL for your site and add it to the link example above.
  4. For example, if your Events site URL = https://targetx--univ.my.salesforce-sites.com/events

Your link would be:

<a href="targetx--univ.my.salesforce-sites.com/events#/myevents?cid={!Contact.Id}&k={!Contact.TargetX_Base__Access_Key__c} 

For Event Specific

This link will direct the user to a specific Event.

Should your plans change, just click here to cancel your registration:

event_site/TargetX_Eventsb__EventCancel?contact_id={!Contact.Id}&k={!Contact.TargetX_Base__Access_Key__c}&event_id={!TargetX_Eventsb__OrgEvent__c.Id}


Replacing event_site with the URL of your Events site. Using the example from above, the updated link would be:

targetx--univ.my.salesforce-sites.com/events/TargetX_Eventsb__EventCancel?contact_id={!Contact.Id}&k={!Contact.TargetX_Base__Access_Key__c}&event_id={!TargetX_Eventsb__OrgEvent__c.Id}

  • Repeat for each of your Email templates
    • Event off Waitlist
    • Chat Event Confirmation
    • Chat Event Off Waitlist
  • Was this article helpful?