
Salesforce admins can trigger Act On It messages directly from Lightning Flows, combining the power of Flow automation with Act On It's advanced alerting capabilities.
By integrating Act On It into your Flows you can:
Add a new element to your Flow and search for the Publish Message action provided by Act On It.

Configure the input values as follows:
Message Type Developer Name (required)
Links the message to a predefined Message Type. The developer name can be found on the Message Type record under Message Details (see screenshot above).
Message (optional)
Overrides the default message content from the Message Type. Use this to create dynamic, personalised messages using Salesforce merge fields and Flow variables.
Recipients (required)
The user or group IDs who should receive the message. For multiple recipients, pass a comma-separated list of IDs or use the Recipient List input to pass a collection variable.
Record ID (optional)
Links the message to a specific Salesforce record, enabling record-level actions and context within the alert.
Send Date/Time (optional)
Schedules the message for future delivery rather than sending immediately.
Source (optional)
Tags the message for reporting purposes, useful when the same message type is triggered from multiple Flows.
Output Values
The Publish Message action returns two output variables you can use to handle success and failure within your Flow:
isSuccess β true if the message was published or scheduled successfully.
errorMessage β populated when isSuccess is false, describing the root cause of the failure. Use this to build error handling paths in your Flow.
Excluded Recipients β this input is deprecated. Use Message Opt Outs instead.
