Loading

Limitations of Send Conversation Message - Flow Action

Дата публикации: Jun 2, 2026
Описание

Limitations:

- 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.

Example:

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.

Notes:

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:

  1. In Flow Builder, create a new Platform Event-Triggered Flow.
  2. Select Messaging Session Status Changed Event as the triggering event.
  3. Add your custom logic within this flow.
  4. Save and activate.
Дополнительные ресурсы

Platform Event-Triggered Flows

Номер статьи базы знаний

003600208

 
Загрузка
Salesforce Help | Article