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

PropertyReturnsDescription
calendarNameStringThe name of the calendar the event is created in.
dateMvelStringThe MVEL expression used to calculate the calendar event's start date.
descriptionMvelStringThe MVEL template used to generate the calendar event's description.
remindBeforeDaysStringThe number of days before the event that the reminder email is sent.
reminderBodyPathStringThe path, within the funnel's branch, to the content file used as the reminder email's body template.
reminderSubjectStringThe subject line used for the reminder email.
reminderThemeWebsiteStringThe id or name of the website used to render the reminder email template.
titleMvelStringThe 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.

To get full access to the Kademi Hub existing customers can login here, or new customers can register here.