Sample 1: Flow message

Code Snippet:

interactive:{"type":"flow","header":{"type":"text","text":"Flow message header"},"body":{"text":"Flow message body"},"footer":{"text":"Flow message footer"},"action":{"name":"flow","parameters":{"flow_message_version":"3","flow_id":"<flow_id>","flow_cta":"Flow button name"}}}

The following changes are to be updated in the code snippet:

  • Header text ("text" key)
  • Body text ("body" key)
  • Footer text ("footer" key)
  • Flow message version ("flow_message_version" key)
  • 1Flow token ("flow_token" key)
  • Flow id ("flow_id" key)
  • Flow cta ("flow_cta" key)
  • Flow action ("flow_action" key)
  • Flow action payload (all parameters inside, as per your configuration)