• Instructions to Ask a Question

    For any assistance, please click the "Ask a Question" button and select the Pabbly product for which you require support.

    We offer seven comprehensive applications designed to help you efficiently manage and grow your business:

    Our support team endeavors to respond within 24 business hours (Monday to Friday, 10:00 AM to 6:00 PM IST). We appreciate your understanding and patience.

    🚀 Exclusive Lifetime Offers 🚀

    We invite you to take advantage of our special one-time payment plans, providing lifetime access to select applications:

    • 🔥 Pabbly Connect — Lifetime Access for $249View Offer
    • 🔥 Pabbly Subscription Billing — Lifetime Access for $249View Offer

    Make a one-time investment and enjoy the advantages of robust business management tools for years to come.

Using API request and dynamic data in body

Brambei

Member
Hi Team,

1. Doing some first testing with the Chatbot feature, but I can't find a way to add dynamic data into a post request. here is the use case.
I want to set-up Whatsapp and let people check the status of their order. So i ask them for their order_id, and want to send it to a webhook, but it seems i can send the order_id anywhere. I tried storing it as custom field for the contact, but i am not sure how i can map the ID in this case '1151'. Could you please let me know how i could use this? the 1151 is now added manually for testing purposes.

2. Also i noticed it's not possible to delete the custom field, please see in Purple. Could you please check that for me?

Scherm­afbeelding 2025-04-06 om 20.49.06.png


KR Bram
 

Preeti Paryani

Well-known member
Staff member
Hello @Brambei,

Thank you for reaching out.

We recommend passing the variables in the body section of the POST request instead of in the headers. To map dynamic values such as the order_id, you can use the following format in the body:

{
"aanvraagid": "$aanvraagid"
}

Ensure that the variable (e.g., $aanvraagid) matches the name used in your flow and is captured correctly.

Regarding the issue with deleting the custom field: please note that at least one field must be selected in the Capture Response section of the Contact Custom Field.
1744019900726.png
 
Top