From Bright Pattern Documentation
Jump to: navigation, search
m
m
 
Line 1: Line 1:
<translate>= Send Message+=
+
<translate>
The ''Send Message+'' workflow block is used to send a text message to a chat customer or to a mobile customer via SMS.
+
= 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 | SMS]]
 +
:* [[#Messenger | Messenger]]
  
[[File:WB-Send-Message-Plus-52.PNG|225px|Send Message+ workflow block]]
+
==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.
  
 +
{{Image750|2022-12-21_11_43_15-send-message-block-workflow-sms-messengers.png|The Send Message+ block in Workflow Builder set to the '''SMS''' chat channel, showing the '''Send Error''' conditional exit.}}
  
== Conditional Exits ==
+
===Conditional Exits===
The Send Message block may take the ''Send Error'' conditional exit if the attempt to send a text message returned an error. This conditional exit may be used for SMS messages only.
+
; 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.
  
[[File:WB-Send-Message-Plus-CE-52.PNG|300px|thumb|center]]
+
; 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.
  
== Settings ==
+
==Messenger==
 +
When '''Chat channel''' Messenger is selected, the Send Message+ workflow block sends a message to the messenger address specified in the '''Messenger <nowiki>"type: address"</nowiki>''' field.
  
=== Message ===
+
{{Image750|2022-12-21_11_43_15-send-message-block-workflow-messenger-messengers.png|The Send Message+ block in Workflow Builder set to the '''SMS''' chat channel, showing the '''Send Error''' conditional exit.}}
''Message'' is the text of the message to be sent to the customer. Variables in the ''$(varname)'' format can be used in the message text.
 
  
=== Send from this number ===
+
===Conditional Exits===
If sending an SMS message, specify the number from which the text message will be sent. Variables in the ''$(varname)'' format can be used.
+
; Send error
 +
: Allows further processing if the attempt to send a text message returns an error.
  
=== Send to this number ===
+
{{Note | 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)''. }}
If sending an SMS message, specify the number to which the text message will be sent. Variables in the ''$(varname)'' format can be used. The default variable is ''$(item.from)''.
 
  
 +
===Settings===
 +
; Message
 +
: The text to send. Variables in the $(varname) format can be used.
  
[[File:WB-Send-Message-Plus-Settings-52.PNG|650px|thumb|center|Send Message+ workflow settings]]
+
; Send using this chat service
 
+
: A list of chat services.
  
 +
; Messenger <nowiki>"type: address"</nowiki>
 +
: The messenger address to which the message will be sent. Variables in the $(varname) format can be used.
 +
<br>
  
 
</translate>
 
</translate>

Latest revision as of 12:49, 21 September 2023

• 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.
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 >