Sending activities to VoiceAI Connect

To send an activity, you need to add a custom payload to the text that is being sent to the user.

Activity structure

{
  "activities": [
    {
      "type": "event",
      "name": "<event name>",
      "activityParams": {
        "<parameter name 1>": "<parameter value>",
        "<parameter name 2>": "<parameter value>"
      }
    }
  ]
}