Add the possibility to map informaion other than phone number and username using the webhook
Henemi Hicham
#1
Henemi Hicham
Hi,

Please add the possibility to map other information sent with the webhook request (other than the phone number and username) as custom fileds.

example : if in the webhook request I send the name, phone, age, job position. then please add the possibily to map the age and job position as custom fields for the user.

let's say the data recieved by the webhook is as folows :

{
"name": "John Doe",
"phone": "211224455778",
"address": "123 Main Street, Los Angeles, CA 90001",
"age": 44,
"city": New yourk,
"offer_link": "https://www.example.com/offer",<br /> "technical_header_data": {
"host": "botsailor.com",
"user-agent": "python-requests/2.28.2",
"accept-encoding": "gzip, deflate",
"accept": "*/*",
"content-type": "application/json",
"content-length": "243",
"x-forwarded-port": "443",
"x-forwarded-proto": "https",
"x-forwarded-for": "41.98.209.139",
"connection": "close"
}
}
What I want exactely is to add the ability to create custom fields an map corresponding data recieved by the webhook. ( below # VARIABLE : USER-NAME *)

The the mapped data will be added to the users custom fields and can be used in future campaign filtering.

Hope my request is clear now.

Thanks in advance