Skip to main content

Hi Community,

I'm running a flow using the ManyChat API sendFlow endpoint:

API Endpoint:
https://api.manychat.com/fb/sending/sendFlow

 

Payload Sample: json

{ "subscriber_id": "5099514960168074", "flow_id": "925858437555219", "message_tag": "CONFIRMED_EVENT_UPDATE", "data": { "medicine": "Panadol" } }

 

In the flow, I'm trying to use {{medicine}} in both a text message and a Set Custom Field action — but the value appears empty (or blank) when the message is sent.

The API call works and the flow is triggered
But {{medicine}} doesn't populate

👉 Can anyone help me figure out:

  • Is the data object correctly mapped?

Thanks in advance!

@FaisalRathor the sendFlow endpoint does not let you set custom fields - it’s only used to send a flow, and you must follow exactly the format shown in https://api.manychat.com .

If you need to set a Custom Field before sending the flow, you need to use the ‘setCustomFields’ endpoint before calling the sendFlow (you’ll need to do 2 API calls to Manychat).

Also, I’m not sure who’s suggesting people add extra parameters on their API requests - maybe ChatGPT?

When using any API you must strictly follow the documentation of the API.

For Manychat, the documentation is here: https://api.manychat.com/swagger#/

Anything not mentioned there will not work.

Hope this helps!

 


Reply