Funnel action that creates a calendar event for the lead, optionally scheduling a reminder email ahead of it. Registered under the JSON type "calendarEventAction". Resolves the target calendar from calendarName (a name prefixed with an underscore selects a calendar belonging to the lead's assigned profile rather than the admin domain), computes the event's start date from dateMvel (defaulting to now) with a one hour duration, and sets its summary and description from titleMvel/descriptionMvel or sensible defaults. The lead's profile is added as an attendee and the event is accepted into their default calendar. When remindBeforeDays and reminderBodyPath are both set, a Reminder is also created from the given template, rendered for the website resolved by reminderThemeWebsite.
Group: Journeys
Extends: AbstractGoalAction
Properties
| Property | Returns | Description |
|---|---|---|
| calendarName | String | The name of the calendar the event is created in. |
| dateMvel | String | The MVEL expression used to calculate the calendar event's start date. |
| descriptionMvel | String | The MVEL template used to generate the calendar event's description. |
| remindBeforeDays | String | The number of days before the event that the reminder email is sent. |
| reminderBodyPath | String | The path, within the funnel's branch, to the content file used as the reminder email's body template. |
| reminderSubject | String | The subject line used for the reminder email. |
| reminderThemeWebsite | String | The id or name of the website used to render the reminder email template. |
| titleMvel | String | The MVEL template used to generate the calendar event's summary. |
Methods
getCalendarName()
Returns: String
The name of the calendar the event is created in.
getTitleMvel()
Returns: String
The MVEL template used to generate the calendar event's summary.
getDescriptionMvel()
Returns: String
The MVEL template used to generate the calendar event's description.
getDateMvel()
Returns: String
The MVEL expression used to calculate the calendar event's start date.
getReminderThemeWebsite()
Returns: String
The id or name of the website used to render the reminder email template.
getRemindBeforeDays()
Returns: String
The number of days before the event that the reminder email is sent.
getReminderBodyPath()
Returns: String
The path, within the funnel's branch, to the content file used as the reminder email's body template.
getReminderSubject()
Returns: String
The subject line used for the reminder email.