From Bright Pattern Documentation
Jump to: navigation, search
(→‎Settings: adds info that 'message' text can be formatted with HTML)
(→‎Settings: adds info that 'message' text can be formatted with HTML)
Line 38: Line 38:
 
===Settings===
 
===Settings===
 
; Message
 
; Message
: The text to send, which can be formatted with HTML. Variables in the $(varname) format can be used.
+
: The text to send. Variables in the $(varname) format can be used. HTML formatting will be rendered in the [[Chat-widget-configuration-guide/UserInterfaceOverview| Chat Widget]] messages, but may not be rendered in other messengers, and will not be rendered in SMS messages.  
  
 
; Send using this chat service
 
; Send using this chat service

Revision as of 05:38, 6 September 2024

• 5.19 • 5.2 • 5.3 • 5.8


Send Message+

The Send Message+ block sends messages in a workflow. Messages are sent over chat channels like SMS and messenger. Each channel provides similar options with variations explained in each channel's section.

SMS

When Chat channel SMS is selected, the Send Message+ scenario block sends a message to a number specified in the Send to this number field.

The Send Message+ block in Workflow Builder set to the SMS chat channel, showing the Send Error conditional exit.

Conditional Exits

Send error
Allows further processing if the attempt to send a text message returns an error.

Settings

Message
The text to send. Variables in the $(varname) format can be used.
Send using this chat service
A list of chat services.
Send to this number
The number to which the message will be sent. Variables in the $(varname) format can be used.

Messenger

When Chat channel Messenger is selected, the Send Message+ workflow block sends a message to the messenger address specified in the Messenger "type: address" field.

The Send Message+ block in Workflow Builder set to the SMS chat channel, showing the Send Error conditional exit.

Conditional Exits

Send error
Allows further processing if the attempt to send a text message returns an error.


Info.40x40.png Messenger errors are delivered asynchronously, so the Send Message+ block might not exit to the Send Error conditional exit on error, but the error details propagate to the variables $(sendMesageResultCode) and $(sendMesageResultBody).


Settings

Message
The text to send. Variables in the $(varname) format can be used. HTML formatting will be rendered in the Chat Widget messages, but may not be rendered in other messengers, and will not be rendered in SMS messages.
Send using this chat service
A list of chat services.
Messenger "type: address"
The messenger address to which the message will be sent. Variables in the $(varname) format can be used.


< Previous | Next >