Skip to main content
Question

Update System Field using Custom Field value

  • July 16, 2024
  • 3 replies
  • 263 views

andremoura

Hi,

I have a flow that starts from the "offline world" lol

Important: this is a flow that someone can use from their phone or someone else.

If I validate that the user is using the pre-registered number (it's a Whatsapp flow), when I use the {firstname} variable, it uses the value coming from the Whatsapp. But I do have on Manychat, via integration, the real name.

So, if I validate the phone number, how can I correctly call my user using {firstname} and not her son's name or SuperQueen80?

Thanks

3 replies

Gustavo Boregio
Forum|alt.badge.img+6
  • Manychat Community Moderator
  • July 16, 2024

You need to use Manychat's API for that unfortunately. You need to use the updateSubscriber endpoint.

 

I've created an app to change the person's name, you can access it here: https://apps.superarmeonline.com/nombre-manychat.php It's in Spanish though.

 

You need to add the Manychat API key (settings > API), and the contact ID (see image with the number highlighted)

 

And then you can add the First and Last names you want.

 

Hope this helps ;)


andremoura
  • Author
  • Chat Surfer
  • July 16, 2024

Is there a URL that I can call to make this change?


Gustavo Boregio
Forum|alt.badge.img+6
  • Manychat Community Moderator
  • July 16, 2024

Yes, using the API and the updateSubscriber endpoint I mentioned earlier.

This is the documentation for it: https://api.manychat.com/swagger#/Subscriber/3ab84a004f4a5942e7a5368c2b807d19