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.

870

A structured message with two buttons.

Action Inputs

    1. 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.
    1. Message: The message to be sent before displaying the buttons.
    1. Conversation ID: Is equivalent to the external_id retrievable from the Conversation object, setting the path to /external_id.
    1. Bot Name: Displayed name of the bot.
    1. App ID: The app ID should come from your flow configurations, which you should have created during the setup steps here.
    1. Bot Avatar Url: URL of the bot's displayed avatar.
    1. Buttons: List of button names to display. E.g.: ["Yes", "No", "Agent Help"]

Action Outputs

  • success: Boolean. Whether the message was successfully sent.