From Bright Pattern Documentation
Jump to: navigation, search
Line 9: Line 9:
 
=== Conditional Exits ===
 
=== Conditional Exits ===
 
The Send Message+ block for chat scenarios may take the following conditional exits.  
 
The Send Message+ block for chat scenarios may take the following conditional exits.  
 
==== Failed ====
 
A ''Failed'' conditional exit occurs when the attempt to send the message has failed.
 
  
 
==== Send error ====
 
==== Send error ====
Line 20: Line 17:
  
 
=== Settings ===
 
=== Settings ===
==== Media type ====
+
==== Chat (send) channel ====
When used in a chat scenario, the Send Message+ block can be used to send either a chat or an SMS message. For the ''Media type'' setting, select either CHAT or SMS.
+
When used in a chat scenario, the Send Message+ block can be used to send either a chat or an SMS message. For the ''Chat (send) channel'' setting, select either ''Initial'' or ''SMS''.
  
 
If the media type is set to SMS, the service on behalf of which the text messages are sent must have the "Outbound chat accounts" property specified.
 
If the media type is set to SMS, the service on behalf of which the text messages are sent must have the "Outbound chat accounts" property specified.
  
If you want to be able to receive and process possible replies to this message, an SMS/MMS access number should be configured in your ''Messaging/Chat'' scenario entry for the given chat scenario.   
+
If you want to be able to receive and process possible replies to this message, an SMS/MMS access number should be configured in your ''Messaging/Chat'' scenario entry for the given chat scenario.
 +
 
 +
If your chat scenario uses both the ''Initial'' channel and the ''SMS'' channel in the same scenario, note that the system will ensure the ''Initial'' channel is the default primary. That is, using the ''Send Message+'' block to send an SMS during a web chat interaction will ensure that the ''SMS'' channel is used for that block only.
 +
 
 +
'''Note''': If the chat originated as an SMS interaction, SMS will be considered the ''Initial'' channel (i.e., all ''Send Message+'' messages will be SMS—both ''Initial'' and ''SMS'').   
  
 
==== Message ====
 
==== Message ====
Line 34: Line 35:
  
 
==== Wait for text input ====
 
==== Wait for text input ====
When selected, this checkbox waits for an incoming chat or SMS message before sending the configured message.
+
When this checkbox is selected, the system waits for an incoming chat or SMS message before sending the configured message.
  
 
==== Result variable name ====
 
==== Result variable name ====
Line 44: Line 45:
  
  
[[File:CCA-Scenario-SendMessage-5399msg.PNG|650px|thumbnail|center|Send Message+ settings for SMS]]
+
[[File:Scenario-Send-Message-Chat-5899artemis.PNG|650px|thumbnail|center|Send Message+ settings for SMS]]
  
  
Line 60: Line 61:
 
==== Send error ====
 
==== Send error ====
 
The ''Send error'' conditional exit if the attempt to send a text message returned an error.  
 
The ''Send error'' conditional exit if the attempt to send a text message returned an error.  
 
==== Timeout ====
 
The Send Message+ block in voice scenarios may take the ''Timeout'' conditional exit. A Timeout occurs when the amount of time configured in [[#Timeout_after,_sec|Timeout after, sec]] has been exceeded due to no input text being received. Note that if not specified, the default timeout value is 600 seconds.
 
  
 
=== Settings ===
 
=== Settings ===
Line 72: Line 70:
 
==== Send to this number ====
 
==== Send to this number ====
 
When sending an SMS message, specify the number to which the text message will be sent. Variables in the ''$(varname)'' format can be used.
 
When sending an SMS message, specify the number to which the text message will be sent. Variables in the ''$(varname)'' format can be used.
 
==== Wait for text input ====
 
When selected, this checkbox waits for an incoming chat or SMS message before sending the configured message.
 
 
==== Result variable name ====
 
If ''Wait for text input'' is selected, when an incoming message is received, the contents of the message (i.e., result) will be passed to the variable name you define here.
 
 
==== Timeout after, sec ====
 
If ''Wait for text input'' is selected, this field allows you to define the number of seconds the system waits for text input before timing out.
 
  
  

Revision as of 21:40, 20 January 2022

• 5.19 • 5.3 • 5.8

Send Message+

The Send Message+ scenario block is used to send messages to customers. Note that the types of messages you can send changes depending on whether you are creating a voice or chat scenario.


Scenario Builder Send Message+ scenario block


Chat Scenarios

Conditional Exits

The Send Message+ block for chat scenarios may take the following conditional exits.

Send error

A Send error conditional exit occurs if the attempt to send a text message returns an error.

Timeout

The Send Message+ block in chat scenarios may take the Timeout conditional exit. A Timeout occurs when the amount of time configured in Timeout after, sec has been exceeded due to no input text being received. Note that if not specified, the default timeout value is 600 seconds.

Settings

Chat (send) channel

When used in a chat scenario, the Send Message+ block can be used to send either a chat or an SMS message. For the Chat (send) channel setting, select either Initial or SMS.

If the media type is set to SMS, the service on behalf of which the text messages are sent must have the "Outbound chat accounts" property specified.

If you want to be able to receive and process possible replies to this message, an SMS/MMS access number should be configured in your Messaging/Chat scenario entry for the given chat scenario.

If your chat scenario uses both the Initial channel and the SMS channel in the same scenario, note that the system will ensure the Initial channel is the default primary. That is, using the Send Message+ block to send an SMS during a web chat interaction will ensure that the SMS channel is used for that block only.

Note: If the chat originated as an SMS interaction, SMS will be considered the Initial channel (i.e., all Send Message+ messages will be SMS—both Initial and SMS).

Message

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 to this number

If sending an SMS message, specify the number to which the text message will be sent. Variables in the $(varname) format can be used.

Wait for text input

When this checkbox is selected, the system waits for an incoming chat or SMS message before sending the configured message.

Result variable name

If Wait for text input is selected, when an incoming message is received, the contents of the message (i.e., result) will be passed to the variable name you define here.

Timeout after, sec

If Wait for text input is selected, this field allows you to define the number of seconds the system waits for text input before timing out.


Send Message+ settings for SMS


Voice Scenarios

In order to be able to send SMS, the access number associated with the given scenario entry point must have the SMS capability.

If you want to be able to receive and process possible replies to the messages sent via this scenario, you need to:

  • Configure a chat service to receive such SMS replies.
  • Add the number that you use to send the messages via this scenario as an SMS/MMS access number for the Messaging/Chat entry that you will configure for the given chat service.

Conditional Exits

The Send Message+ block for voice scenarios may take the following conditional exits.

Send error

The Send error conditional exit if the attempt to send a text message returned an error.

Settings

The Send Message+ block for voice scenarios sends text messages (i.e., SMS) only.

Message

Message is the text of the SMS to be sent to the customer. Variables in the $(varname) format can be used in the message text.

Send to this number

When sending an SMS message, specify the number to which the text message will be sent. Variables in the $(varname) format can be used.


Send Message+ settings for voice


< Previous | Next >