Can I format dates in the Campaign Name Pattern?
When auto-creating Salesforce campaigns from Eventbrite events, you can set a pattern for your campaign names. This pattern is set in Mappings.
There are several merge fields we offer, like [EventName], [EventStart], and [EventEnd]. The dates can be formatted to meet your needs by adding java's SimpleDateFormat for year, month, and day and/or hours and minutes after a pipe inside the brackets.
Notes:
- Currently we only support dots, dashes and spaces to separate the units within dates.
- A preview of the format will display as you enter the pattern
- To see the preview correctly when creating the pattern, enter your special merge field without the piped parameters first ([EventStart]) and then insert the pipe inside the square bracket.
Samples:
https://jumpshare.com/embed/GcPF35WLg29scdhJBMCk
[EventStart|yy-MM-DD] would merge as 2028-01-01
[EventEnd|MMMM DD yyyy] would merge as January 01 2028
[EventStart|yyyy-MM-DD hh:mm] would merge as 2028-01-01 11:30
Learn more about Eventbrite for Salesforce Mappings
In this article