Funnel action that sends an SMS message, via a configured SMS provider, to the lead's profile or another resolved recipient. The recipient can be resolved from a kcode expression or an MVEL expression evaluated against the lead; when neither is configured the lead's own profile is used. Runs when a lead enters the node via onEnter, and records each sent message against the lead for reporting.
Group: Journeys
Extends: AbstractGoalAction
Properties
| Property | Returns | Description |
|---|---|---|
| message | String | Message template sent to the recipient, evaluated against the lead and the current request before sending. |
| provider | String | Id of the SMS provider used to send the message, resolved against the providers configured for the organisation. |
| to | String | Kcode or MVEL expression that resolves the recipient profile or phone number. When blank, the lead's own profile is used as the recipient instead. |
| website | String | Name or id of the website used as the sending context for this SMS. |
Methods
getWebsite()
Returns: String
Name or id of the website used as the sending context for this SMS.
getProvider()
Returns: String
Id of the SMS provider used to send the message, resolved against the providers configured for the organisation.
getMessage()
Returns: String
Message template sent to the recipient, evaluated against the lead and the current request before sending.
getTo()
Returns: String
Kcode or MVEL expression that resolves the recipient profile or phone number. When blank, the lead's own profile is used as the recipient instead.