Answers.Body: <p>If you send to <em>Participants</em> of an event (rather than <em>Contacts</em>) then tokens about the event are available.  So if you had an invite list you could look at creating a new not-counted participant status of 'invited', register them as 'invited' and then mail them with event tokens available.  But I don't know how well that fits your scenario.</p>
  <p>You can create your own tokens using SearchKit which might be useful here since they don't need to be in a Participant context. If you create a SK for 'next conference event' you can probably create <code>next_conference_event_title</code>, <code>next_conference_event_date</code> etc using the <a href="https://lab.civicrm.org/extensions/sktokens" rel="nofollow noreferrer">SearchKit Tokens extension</a> (not tested).</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-02-24T12:27:39.073Z
Answers.Text: I did not know about creating tokens with search kit. Thank you. And I think using an invited status is the right way to go.
Answers.UserDisplayName: Nick Perkins
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-02-13T12:15:40.527Z
Answers.LastActivityDate: 2024-02-13T12:15:40.527Z
Answers.UserDisplayName: Aidan
Body: <p>I have have created some events, and I would like to send an email to a group to promote each of them individually, and link to information regarding the event. Event tokens are not available in Civimail, since it would have no idea which event you meant.</p>
  <p>Has anyone found a semi-automated way to get the info for an event to prefill a message template? I was wondering if using Smarty might work and I could add the event id as a variable, but that's way beyond me at the moment.</p>
  <p>I'm not looking to send a scheduled email when the event is created, because it would likely trigger before all details are entered.</p>
  <p>One option I have considered using Fancy Tokens to list the events for the next x months. I might need to tweak it though as I'm using Drupal with civicrm_entity to display the event information. But I would prefer to send an email per event, as over time we might have groups specific to event types.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-02-13T19:02:40.633Z
Comments.Text: not sure how much overlap there is here, but this other question touches on some similar issues: https://civicrm.stackexchange.com/questions/45469/scheduling-repeat-newsletters
Comments.UserDisplayName: petednz - fuzion
Tags: <civievent><civimail>
Title: Sending emails to group promoting a event using CiviMail
ThreadText: # Sending emails to group promoting a event using CiviMail
  
  (Asked by: username_0 on 2024-02-12)
  
  I have have created some events, and I would like to send an email to a group to promote each of them individually, and link to information regarding the event. Event tokens are not available in Civimail, since it would have no idea which event you meant.
  
  Has anyone found a semi-automated way to get the info for an event to prefill a message template? I was wondering if using Smarty might work and I could add the event id as a variable, but that's way beyond me at the moment.
  
  I'm not looking to send a scheduled email when the event is created, because it would likely trigger before all details are entered.
  
  One option I have considered using Fancy Tokens to list the events for the next x months. I might need to tweak it though as I'm using Drupal with civicrm\_entity to display the event information. But I would prefer to send an email per event, as over time we might have groups specific to event types.
  
  **Tags:** civievent, civimail
  
  > **Comments:**
  > **username_1**: not sure how much overlap there is here, but this other question touches on some similar issues: https://civicrm.stackexchange.com/questions/45469/scheduling-repeat-newsletters  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2024-02-13. Score: 1 | Accepted answer
  
  If you send to *Participants* of an event (rather than *Contacts*) then tokens about the event are available. So if you had an invite list you could look at creating a new not-counted participant status of 'invited', register them as 'invited' and then mail them with event tokens available. But I don't know how well that fits your scenario.
  
  You can create your own tokens using SearchKit which might be useful here since they don't need to be in a Participant context. If you create a SK for 'next conference event' you can probably create `next_conference_event_title`, `next_conference_event_date` etc using the [SearchKit Tokens extension](https://lab.civicrm.org/extensions/sktokens) (not tested).
  
  > **Comments:**
  > **username_0**: I did not know about creating tokens with search kit. Thank you. And I think using an invited status is the right way to go.  
  
  ---
  
  