Table of Contents

Use placeholders in Sweap

Ingo Updated by Ingo

The function of the dynamic placeholder can be used in addition to the HTML editor (continuous text), also outside the text areas in the email and website builder. In this way, you can, for example, dynamically design headings within your website modules or your email modules.

The usage of placeholders is useful in places where you cannot use our tokens. In most areas, you can work with placeholders to make your emails and web pages dynamic.

For more information on the HTML Editor and our tokens, click here.

How does a placeholder work?

A placeholder corresponds to a specific event or guest information. This means that each placeholder is linked to a corresponding content, such as the event name, the first and last name or also the guest fields created in the event, such as 'Company'. By inserting these placeholders, the associated information is recognised by the system and dynamically replaced with the corresponding content in the email or website.

Which placeholders are available in Sweap?

placeholder event

placeholder guest

placeholder for URL

Event name: {{event_name}}

Event location: {{event_location}}

Event start datetime: {{event_start_datetime}}

Event start date: {{event_start_date}}

Event start time: {{event_start_time}}

Event end date: {{event_end_date}}

Event end time {{event_end_time}}

Guest name: {{guest_name}}

Guest first name: {{guest_first_name}}

Guest last name: {{guest_last_name}}

generated salutation (from salutation generator): {{generated_salutation}}

Guest entourage count: {{guest_entourage_count}}

Guest entourage names: {{guest_entourage_names}}

Maximum guest entourage count: {{guest_max_entourage_count}}

Guest E-Mail: {{guest_email}}

Guest invitation status: {{guest_invitation_state}}

Guest invitation-ID: {{guest_invitation_id}}

Guest ticket-ID: {{guest_ticket_id}}

Guest category: {{guest_category}}

Guest comment: {{guest_comment}}

Guest link invitation: {{invitation_edit_url}}

Guest link invitation accept: {{invitation_accept_url}}

Guest link invitation decline: {{invitation_decline_url}}  

Link to the virtual event: {{virtual_event_url}}

Note: For all fields where the _id command is used, the ID of the desired field must be used. This ID can be found in the event menu 'Guests', section 'Fields'. Just click on the desired field and the ID will be visible.
Guestfield ID

Usage of placeholders

To use a placeholder, insert it into the desired area.

In our example, we use the name of the event. We use the corresponding placeholder {{event_name}}, so the name of the event is inserted into the subject line.

Insert placeholder

You can also use some placeholders as hyperlinks. This function can be used if you want to give your guest another way to access one of the URLs of your event in an email.

You can let the guest access the following URL via placeholders:

  • Guest link invitation
  • Guest link invitation accept
  • Guest link invitation decline
  • Link to the virtual event

Let's assume that the plans of one of your guests changed. With placeholders you can give your guests easily the option of cancelling his or her participation in your event via 'Guest link invitation decline'. With this action, the guest changes his or her guest status from accepted to cancelled.

To implement this function, you could add the following additional sentence to our email:

"P.S. Your plans have changed? No problem, please let us know here if you will not be attending."

In order to give the guest the possibility to cancel with one click, you can add a hyperlink to the word 'here'. Just mark the word 'here' and then call up the hyperlink function of the text editor. This function is hidden behind the paper clip symbol.

Instead of a URL, only the placeholder {{invitation_decline_url}} must be entered.

The guest can now click on the word 'here' to access the cancellation URL and cancel the event.

How did we do?

Create and edit customised templates for e-mails and websites

Contact