SunCo Send Chat Message

This action uses the Sunshine Conversations (SunCo)'s API to send chat message 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.

This action supports text message only. To send structured messages, like buttons, please see SunCo Send Structured Message.

854

A SunCo conversation from user's interface.

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

conversationID is retrieved from external_id of the Conversation object, passed in every master flow.

1322

Example complete action inputs

Action Outputs

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