SunCo Send Structured Chat Message (Buttons)
This action uses the Sunshine Conversations (SunCo)'s API to send structured chat message - buttons specifically, to the end user.
You can configure the text of the message, the bot’s name, and its avatar. You will also need the API Token, conversation ID, and app ID. All the inputs are mandatory, and the latter three can be retrieved from SunCo.
To send text messages only, please see SunCo Send Chat Message.
Action Inputs
-
API Token
: This token is created when you connect DigitalGenius to SunCo in the setup steps. You should have saved it in the flow configuration after copying it from the connection.
-
Message
: The message to be sent before displaying the buttons.
-
Conversation ID
: Is equivalent to theexternal_id
retrievable from the Conversation object, setting the path to/external_id
.
-
Bot Name
: Displayed name of the bot.
-
App ID
: The app ID should come from your flow configurations, which you should have created during the setup steps here.
-
Bot Avatar Url
: URL of the bot's displayed avatar.
-
Buttons
: List of button names to display. E.g.: ["Yes", "No", "Agent Help"]
Action Outputs
success
: Boolean. Whether the message was successfully sent.
Updated 12 months ago