> ## Documentation Index
> Fetch the complete documentation index at: https://fliqr.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Get JSON for Messenger ads

> Export flow JSON so click-to-Messenger Facebook ads can hand conversations to Fliqr AI.

When you run click-to-Messenger ads, you can attach JSON from a Fliqr AI flow so the ad opens into your bot experience.

## Export JSON from a flow

<Steps>
  <Step title="Open the flow">
    Go to **Flows** and open the flow that should handle the ad conversation.
  </Step>

  <Step title="Open flow options">
    Click the **⋯** menu in the flow builder.
  </Step>

  <Step title="Get JSON for Messenger ads">
    Choose **Get JSON for Messenger Ads** and copy the generated JSON into your Meta ads setup.
  </Step>
</Steps>

<Tip>
  Publish the flow before exporting JSON, and test the ad destination with a draft campaign first.
</Tip>
