Sending a carousel with an image, assigning attribute value and message

You can use a carousel in a webhook response to include an image, assign a value to a variable in the platform and include a payload button that points the user to a specific message in the bot.

{
  "title": "Your framed avatar",
  "image_url": "https://example.com/image.jpeg",
  "buttons": [
    {
      "type": "postback",
      "title": "Update profile picture",
      "payload": "@BP:MESSAGE:8530:VARSET:$framedpicture|outputfromwebhook"
    }
  ],
  "subtitle": "Click below to update your profile picture"
}

Example

338338