Support

Home Forums Event Espresso Premium Custom message with attendee data and no formatting

Custom message with attendee data and no formatting

Posted: September 27, 2014 at 10:44 pm


rcfc

September 27, 2014 at 10:44 pm

Hi,

Is there a way to create a custom message that will send all the info for a new registration (event ID, registrant data, event price per attendee, custom question answers….)? I just want pure data, no formatting — plaintext email is preferable.

I’ve been playing with custom templates, but I don’t really see how I can get this data. I believe there’s a way, but it seemed like I should just ask for help.

Thanks much!


Josh

  • Support Staff

September 30, 2014 at 9:05 am

Hi there,

You can remove the html tags to allow for a more plaintext experience.

Dynamic content like custom question answers can be included by placing short tags in the message body. Please note that the shortcodes are available per section. So for example to display the event ID, you place the [EVENT_ID] shorttag in the [EVENT_LIST] section. [TICKET_PRICE] can be placed in the [TICKET_LIST] section.


rcfc

October 4, 2014 at 8:17 pm

Hey Josh,

Most of the data I’m looking to include in these messages are the custom questions from my question groups. I was told to use the newsletter message type when I wanted to include arbitrary data, I’m guessing (???) because it’s a simplified format — it only has Main and Newsletter content sections. So I’m doing that. I’ve added question tags, like so:

[fname]
[lname]
[address]
[address2]
[city]
[state]
[zip]
[phone]
[other-phone]
[how-did-you-hear-about-us]

to both sections — and both sections throw errors.

Can you give me some hints?

Thanks,
josh


Lorenzo Orlando Caum

  • Support Staff

October 6, 2014 at 11:57 am

Hi,

Certain areas can only use certain shortcodes:

http://cl.ly/image/1U2v231A0P1r


Lorenzo


rcfc

October 18, 2014 at 8:23 pm

Thanks Lorenzo. Can you tell me

  1. if & why I should be using the Newsletter message type?
  2. Which area should be used to include the shortcodes I listed?
  3. and if those shortcodes look correct to you? Obviously the exact content of these codes are based on my question names, but is the format correct?

Thanks


Lorenzo Orlando Caum

  • Support Staff

October 19, 2014 at 6:05 pm

Hi,

The shortcodes that you shared earlier are for Event Espresso 3.

These are the shortcodes that are available for Event Espresso 4:

http://cl.ly/image/2G1j2a2S2y3i

Clicking on the icon will expand to show options as seen in the short video above.

The message area has these available:

[RECIPIENT_FNAME], [RECIPIENT_LNAME], [RECIPIENT_EMAIL], [RECIPIENT_PHONE_NUMBER], [RECIPIENT_ADDRESS], [RECIPIENT_ADDRESS2], [RECIPIENT_CITY], [RECIPIENT_ZIP_PC], [RECIPIENT_ADDRESS_STATE], [RECIPIENT_COUNTRY], [COMPANY], [CO_ADD1], [CO_ADD2], [CO_CITY], [CO_STATE], [CO_ZIP], [CO_LOGO], [CO_EMAIL], [CO_PHONE], [CO_LOGO_URL], [CO_FACEBOOK_URL], [CO_TWITTER_URL], [CO_PINTEREST_URL], [CO_GOOGLE_URL], [CO_LINKEDIN_URL], [CO_INSTAGRAM_URL]

You would need to update your shortcodes to the new ones above.

Next, the newsletter message type is for sending out a batch of emails to attendees. For example, you could send out some pre-event information the day before an event.

It could also be used to thank attendees for attending an event after the event has taken place.


Lorenzo


rcfc

October 24, 2014 at 9:08 pm

Ok, well I don’t know why I was told to use the Newsletter message type then. They made it sound like it was more open ended. From your message, it sounds like there’s not much difference. In any case, my question remains — I want to set up an email that automatically gets sent to an internal (in the company) email address, whenever an event registration is completed. This email will have no formatting, just data. Most of the data will be answers to the “custom questions”, some of which are locked/built-in, and some of which I’ve created.

The shorttags I listed aren’t from EE3, they are the “Admin Label” column IDs for the custom questions I see when I go to Event Espresso > Registration Form > Questions.

If this isn’t the right way of getting these questions into a blank, unformatted email, can you tell me what is?

Also, in your screenshots it looks like your interface is different from what I’m seeing. The interface in your screenshots is much nicer! My looks like this.
my interface
How do I see yours?

Thanks,
Josh


Josh

  • Support Staff

October 29, 2014 at 7:55 am

Hi Josh,

I’ll try to take your questions on one by one:

I want to set up an email that automatically gets sent to an internal (in the company) email address, whenever an event registration is completed.

In a typical case you’ll use the “Registration Approved” message type, and send it to the internal email address via the Event Admin Messenger context.

The shorttags I listed aren’t from EE3, they are the “Admin Label” column IDs for the custom questions I see when I go to Event Espresso > Registration Form > Questions.
If this isn’t the right way of getting these questions into a blank, unformatted email, can you tell me what is?

That’s not correct. You can put the questions and answers into your email by adding the [ATTENDEE_LIST] shortcode to the email’s Main Content. Then you add the [QUESTION_LIST] shortcode to the [ATTENDEE_LIST] section. Followed by

<strong>Question:</strong> [QUESTION]<br>
<strong>Answer: </strong>[ANSWER]<br>

in the [QUESTION_LIST] section.


rcfc

October 29, 2014 at 5:16 pm

AH! I didn’t understand that you were basically creating a loop in the Main Content section, and that the other sections are then expanded as sub-loops. That’s very educational.

I now understand how to use [ANSWER_*], which is probably what I actually want.

I think this will work fine for me. Now I just have to figure out how to use this in the right message context.

BTW — I did notice what appears to be a bug just now, playing with this:
the [EVENT_IDENTIFIER] shorttag, when included in the [EVENT_LIST] section, causes a blank page to load on test-send. FYI. I don’t seem to need that tag anyway, personally.

Thanks very much for your help, guys.


rcfc

October 29, 2014 at 5:21 pm

Hey, is it possible to leave the original Registration Approved message intact, sending to three contexts, while in addition also sending a custom Registration Approved to only the Admin context?

Thanks.


Josh

  • Support Staff

October 30, 2014 at 2:47 pm

Hi there,

I’m not sure I follow. What are the contexts do you want to send to? If you can outline a few details on what you are trying to accomplish I can look into this further.


rcfc

October 30, 2014 at 6:37 pm

Sure. On Registration Approved, I’m supposed to send an email with unformatted data to be parsed into an existing database. The data I’m interested in is pretty simple registration data:

  • parent/primary contact info
  • student contact info
  • student custom questions
  • event
  • price
  • (other students contact info)
  • (other students custom questions)
  • (event)
  • (price)

My question is: do I have to replace the existing “Registration Approved message for Admin context”, or can I create a second “custom message of registration approved type” and only use the Admin context (not use the other two).

Thanks


Tony

  • Support Staff

October 31, 2014 at 5:07 am

Hi Josh,

My question is: do I have to replace the existing “Registration Approved message for Admin context”, or can I create a second “custom message of registration approved type” and only use the Admin context (not use the other two).

You can only select one custom message template (regardless of the contexts) to be sent for each event, so you would need to replace the existing Registration Approved admin context for your custom message template with your unformatted email.

The support post ‘Custom message with attendee data and no formatting’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso