SEND_MESSAGE
Send an email or a text message to the email addresses or phone numbers subscribed to a message topic.
Properties
Message Topic
sendmessage_topicId
The topic to send the message to. A topic is a pre-configured list of recipients. Topics can be set up for an account under the "Observers" menu in the admin panel.
Subject ${}
sendmessage_subject
The subject of the message. It is used as the subject for email messages and is included as the first line of SMS messages.
Send Message Continuation Behavior
sendmessage_continueBehavior
Choose the success condition for the process allowing the flow to move on to the THEN branch. If any message fails to send, the ELSE branch will always be run after the THEN branch runs (if the send result matches the continuation behavior selected here).
valid options | |
---|---|
Always Continue ALWAYS_CONTINUE | Always run the THEN branch, even if no message successfully sends. |
Continue When Any Send Succeeds CONTINUE_WHEN_ANY_SEND_SUCCEEDS | Run the THEN branch if at least one message successfully sends. |
Continue When All Sends Succeed CONTINUE_WHEN_ALL_SENDS_SUCCEED | Only run the THEN branch if all messages are successfully sent to the topic's subscribers. |
HTML Content ${}
sendmessage_htmlContent
The body of the message as HTML. This property is the main content for email messages and is ignored for SMS messages.
Text Content ${}
sendmessage_textContent
The plain text body of the message. This property is a secondary form of content for email messages and will be viewed when email clients do not support HTML. It is also the content that will be delivered for SMS messages.
Message Attachments
messageAttachments
A list of documents that will be included with email messages as attachments.
File Name ${}
messageAttachments[].fileName
The name of the file when it is attached to the email message. Accepts template syntax.
Contents ${}
messageAttachments[].content
The contents of the file. Accepts template syntax.
Mime Type ${}
messageAttachments[].mimeType
The content type of the attachment. Must be a valid mime type (e.g. "application/json" for JSON data)