Adding Message Actions to a step
Message actions allow you to map values in a flow to the inputs and outputs specified by a .
The message actions available are dependent on the connection that is being used when creating a message, as each individual connection provides a different set of message actions that can be performed.
For example, the Salesforce allows the following message actions.
-
Create Task
-
Notify Users
-
Send Task Email
-
Create a Task
-
Create A Calendar Event
Adding a message action to a step
- Open the configuration panel for the step you wish to add a message action to. See Editing step on the flow canvas.
Topics/Building_and_publishing_flows/The_Flow_Canvas/c-flo-Canvas_Editing_Elements_656a364c-879f-4153-8ee5-b19e47dca8f5.md). 2. Any existing message actions for the step are shown and can be edited or deleted as required. Click Add Message Action to add a new message action. 3. The Message Action panel is displayed. Define the message action options:
-
The Connector to send the Message: Select the that you wish to use for the message action.
-
The Message to send: This section is shown once you have selected a . The available message actions that you can select from depend on the . Click Select in the Actions column to configure the action you wish to use.
-
The Message Action configuration form is displayed. Configure the message action:
-
Name: This field is pre-populated but can be amended if you wish to change the name for the message action.
-
Inputs: Input values allow you to add information to a message action to make what it does more specific, or to give it any information it requires to operate correctly. For example, if you are using a message action to send an email, it will require information about which email address it should be sent to, what the content of the email is, and so on. These would be set up as input values. ClickSelect or create a new value to select an existing value to store this information in, or create a new value specifically for this purpose.
-
Outputs: Output values are used to store any information that is returned by the message action. For example, the runtime allows a message action to be set up that launches a flow, with an output of that message action being the
Stateof the flow, allowing you to read the value and get information about the flow that was launched. ClickSelect or create a new value to select an existing value to store this information in, or create a new value specifically for this purpose. -
The order in which this Message should be sent: Specify an order in which the message actions should be performed. The value "0" will result in a message action being performed before a value of "1", and so on. Any message actions in a message step with the same order value will be executed in parallel. Note that you cannot use the output of one message action as the input of another message action if they are ordered to run as the same parallel batch.
-
Disable this message: Select this check box to temporarily disable the message action without having to permanently delete it.
-
-
Click Save to save the new message action and return to the configuration panel. The new message action is shown in the Message Actions table.
-
Click Save to save your changes and apply the message action to the selected step.
Message actions can be added to the following steps: