- Messaging sessions created through the Send Conversation Message action is restricted to custom logic events within the creation context.
- To ensure optimal performance and avoid DML limit errors, custom logic (such as Before and After Triggers or Flows) should be minimized.
If messaging sessions are created by the Send Conversation Messages action within a flow, and another automation process (e.g., a Before or After Trigger or Flow) is triggered upon session creation, the custom logic intended to run when the session is created may not be effective.
This limitation applies only to messaging sessions created by the Send Conversation Messages action within a flow. It restricts additional automation from triggering upon creation, preventing excessive session creation and reducing the risk of exceeding governor limits.
As a workaround for the automation limitations of the Send Conversation Messages flow action, use the Messaging Session Status Changed Event platform event. This event fires when a Messaging Session's status changes (e.g., from New to Active) and can trigger a Platform Event-based flow independently of the session creation context — avoiding DML limit errors.
Steps:
003600208

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.