Skip to main content

In an automation, is there a way to send the “flow_ns” value through an External Request?

I understand that I can get that value from the URL in a browser, but I would like to have that value sent to my backend for logging purposes.

I tried to see if the field was available when clicking the “Add Full Contact Data” in the Request form, but nothing came up.

Thanks!

Hi, ​@questionMany!

 

Sadly, no… the only way you can get this ID is at the URL.
If you wish to log it, you can create a Custom User Field and, using an Action Step, populate it with the flow_ns:

 

Then it can be sent via external request. 😉


Hi ​@Fabio Gaulke ,

Many thanks for getting back to me!

Ok - is there a way to get the latest “flow_ns”, or a list of flow_ns, that a contact is on and/or has gone through?

Was just trying to think outside the box of maybe querying the API for info about a contact, and it returning (among other things) what automation(s) they’ve gone through. 

Thanks!


Hi ​@Fabio Gaulke ,

Many thanks for getting back to me!

Ok - is there a way to get the latest “flow_ns”, or a list of flow_ns, that a contact is on and/or has gone through?

Was just trying to think outside the box of maybe querying the API for info about a contact, and it returning (among other things) what automation(s) they’ve gone through. 

Thanks!

 

You could integrate Google Sheets, for example, and log every user (IG Username) + flow_ns. This way you will have a history of it.


Hi ​@Fabio Gaulke ,

Thanks again for your answer - sorry I was not being clear at all in what I was trying to ask.

Let me rephrase the question: Is there any route in Manychat’s API whose return includes both ‘subscriber_id' and ‘flow_ns’?

The /fb/subscriber/getInfo route doesn’t seem to return the flow that the subscriber is on, so I was just wondering if there was any other route that I wasn’t aware of.

Thanks very much!


Hi ​@Fabio Gaulke ,

Thanks again for your answer - sorry I was not being clear at all in what I was trying to ask.

Let me rephrase the question: Is there any route in Manychat’s API whose return includes both ‘subscriber_id' and ‘flow_ns’?

The /fb/subscriber/getInfo route doesn’t seem to return the flow that the subscriber is on, so I was just wondering if there was any other route that I wasn’t aware of.

Thanks very much!

 

Understood.

No, there's no API endpoint that informs the flow_ns and it also doesn't appear withing the "full contact data” when you do an external request.

 

The only way is manually setting it to a custom user field in each of your automations. This way you can map it in your request.


@Fabio Gaulke Thank you for your quick responses to my questions; it is very much appreciated!

Have a great day