Sending a message using Salesforce Flow

The Messente for Salesforce application allows you to send SMS messages using Salesforce Flow in bulk to enable administrators and citizen developers to automate the sending process. To send a message using Flow, utilise our invocable action that is provided in the Flow builder as shown in the image below

The Send SMS Message(s) action

As shown the action is stored in the "Messente" category in the left hand list. The action has the following parameters:

  • Label (required) - A label to display for this action instance
  • API Name (required) - The unique API name for this action instance
  • Description - A free text description of the usage of the action
  • message (required) - The text body of the SMS message that you wish to send
  • phoneNumber (required) - The mobile number to message in E.164 format
  • contactId - An optional Contact record Id to associate the message to
  • leadId - An optional Lead record Id to associate the message to

Under the "Advanced" section it is recommended to leave the "Transaction Control" set to "Let the flow decide (recommended)". As the sending of messages will invoke a callout to an external service this is the best option for bulk processing of requests.

The action returns a list of strings containing the record Ids of the newly created Message records.