Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

It is now possible to change the conversation state on an ongoing conversation.

Conversation States

  1. Open
    When the conversation state is Open it is possible to send messages as usual:

  2. Auto_Bot
    During this state an automated process or a bot is answering the messages, it is not possible to manually send messages.

    However, a user which has the custom permission Social25.Allow Change Conversation State assigned can press the Take over conversation button to put the conversation to the Open state.

  3. Blocked
    While the conversation is in Blocked state it is not possible to send and receive message within this conversation

Custom Permission

Not every user is allowed to perform changes on the conversation state. To give a user permission to do this you have to assign the Custom Permission (on the user Profile or Permission Set) Social25.Allow Change Conversation State. This makes the buttons to do this visible:

Change state from Flow

Input

  1. Add an Action element in the Flow Builder

  2. Choose Put Conversation

  3. Fill in the following 4 input values

Conversation ID

This is the conversation ID from which you want to change the state

Action

Should be set to change_state

Asynchronous

Should be set to TRUE or FALSE. If you trigger the Flow after a record insert/update, then it is mandatory to set this value to TRUE

State

Should be set to one of the following numeric values:

  • 0 (OPEN)

  • 1 (EXPIRED)

  • 2 (AUTO_BOT)

  • 3 (CLOSED)

  • 4 (BLOCKED)

On this page:

  • No labels