Chatflow flow: API Request node sends {{variables}} as literal text + new contacts not opening in Inbox

Status: Closed · Asked by Michele Octo360 on · 0 views

Michele Octo360 — Question ·
Hello Pabbly team,

I have two issues in Pabbly Chatflow on WhatsApp number(see below). Flow: "Lead web WhatsApp - Electricista Barcelona 24" (ID 6aca9ad9934af7e5004dd183).

ISSUE 1 (blocking): The API Request node does not replace variables

Flow design: Trigger (Keyword/Regex, ".*", skip trigger matching ON) > Ask Question x4 (saved to contact custom fields averia, zona, cuando and the Name field) > API Request > Assign AI Assistant.

The API Request node calls POST https://chatflow.pabbly.com/api/v1/messages to send a WhatsApp template to our technician. Request body:

{
  "to": 34613329540,
  "type": "template",
  "templateName": "aviso_lead_web_electricista",
  "bodyParams": ["{{Name}}", "{{MobileNumber}}", "{{averia}}", "{{zona}}", "{{cuando}}"]
}

Expected: the template arrives with the contact's real values.
Actual: the template arrives with the literal text, for example "Cliente: [{{Name}}]", "Teléfono: [{{MobileNumber}}]", "Avería: [{{averia}}]", "Zona: [{{zona}}]", "Cuándo: [{{cuando}}]".

I checked the contact in the Inbox (contact: Lucia, 11 Oct 2026, 09:22) and the custom fields averia and zona do contain the saved answers, so the data exists when the node runs. The same happens in the Test button of the node.

Questions:
1. What is the exact syntax to insert contact fields and custom fields (system and custom) in the body of the API Request node?
2. Is variable substitution supported in the body at all, or only in message nodes? If not supported, what is the recommended way to notify a second WhatsApp number with the collected answers?
3. In the code editor of the Body tab there is no variable picker. Is there a shortcut (for example typing "/") to map dynamic fields?

A similar thread on your forum ("ChatFlow passing variable string names instead of Values") was moved to a private ticket without a public answer, so I could not find the syntax in the docs.

ISSUE 2: New contacts do not open a conversation in the Inbox

When a brand new number writes to us, the message is delivered (Meta shows double ticks) and the contact is created as "Added by Message" in Contacts, but no conversation appears in the Inbox until I click "Chatear" in Contacts. The flow and the AI assistant did not start for those first contacts. It started working only after I deleted and re-created the contacts. Is this a known issue?

ISSUE 3 (minor): Answer offset in Ask Question

The first message that triggers the flow ("Hola") was saved into the first question's field (averia), and the user's real answer to question 1 ended up in the next field (zona). Is the trigger message being captured as the answer to the first Ask Question? How can I avoid that?

Thank you for your help. I can share a screen recording or give access to the flow if useful.

Best regards,
Miky
Pabbly Support — Reply ·

Hello Miky,

Thank you for reaching out!

1. API Request Configuration

The $ prefix is required before variables in the body parameters for dynamic value evaluation (e.g., {{ $Name }}, {{ $MobileNumber }}, {{ $averia }}, {{ $zona }}, and {{ $cuando }}). Since the prefix was missing in your configuration, the values were not evaluated dynamically and were sent as literal text.

We tested the configuration using webhook.site and confirmed that all required fields were received correctly. Please refer to the attached screenshot and update the API Request with your actual endpoint URL.

image.pngimage.png

2. Contact and Conversation Display

We tested this using a personal contact and confirmed that the newly created contact displayed the registered username along with the complete conversation thread in the Inbox. Please refer to the attached screenshot for reference.

image.png

3. Further Clarification Required

We could not fully understand your third concern. Please elaborate on the issue and, if possible, share a screenshot or screen recording so we can investigate further.

Thanks & Regards,

Shekh Dilshekh

Customer Support Specialist

🌐 Pabbly.com

🎉Black Friday Early AccessSignature image

Michele Octo360 — Reply ·

Hello Shekh,

Thank you for the quick reply. The $ prefix was the missing piece for issue 1, I am applying {{ $Name }}, {{ $MobileNumber }}, {{ $averia }}, {{ $zona }} and {{ $cuando }} now.

Issue 2 is understood, my point is that I deleted the Testing contacts numbers we used and messaged again our WABA account for testing purposes and once the contact was deleted it will not show up in the conversation Inbox (and only in the "contacts" tab

Here is the clarification for issue 3 (answers saved in the wrong field).

Flow: Trigger (Keyword/Regex ".*", skip trigger matching ON) > Ask Question 1 (saves to custom field "averia") > Ask Question 2 ("zona") > Ask Question 3 ("cuando") > Ask Question 4 (Name) > API Request > Assign AI Assistant.

What happened with a brand new contact (Lucia, 11 Oct 2026, around 09:22):

1. The user sent "Hola". This is the message that triggers the flow.

2. The flow asked question 1 ("What problem do you have?").

3. The user answered "Falta la luz".

Result in Contact Custom Fields:

- averia = "Hola" (the trigger message)

- zona = "Falta la luz" (the answer to question 1)

Expected:

- averia = "Falta la luz"

- zona = the answer to question 2

So it looks like the message that fires the trigger is being saved as the answer of the first Ask Question, and every later answer is shifted by one field.

Question: is this the expected behavior when the trigger is Keyword/Regex ".*"? What is the recommended setup so the trigger message is not captured as the first answer (for example a different trigger type, or a node placed before the first Ask Question)?

I can attach a screen recording or the contact's custom fields screenshot if needed.

Thank you,

Miky

Octo360

Pabbly Support — Reply ·

Hello,

Thank you for providing the detailed clarification!

During our troubleshooting session yesterday, we tested your workflow multiple times using a personal contact. We also deleted the test contact and sent another message to trigger the workflow from scratch again. However, we did not encounter the issue you described, where deleted contacts or their conversations were unavailable in the Inbox, as it showed the whole thread in other attempts as well.

Regarding the API Request, the screenshot we shared confirms that the values for averia, zona, and cuando, along with the contact details and name, were forwarded to your configured API endpoint as expected without being incorrectly forwarded or stored.

For the answer-mapping concern, adding an extra step before the first Ask Question is not necessarily required. However, you may consider configuring a more specific trigger, such as an explicit keyword or phrase, instead of the ".*" regex pattern, which matches any message. The Ask Question step is where you configure the custom field in which each answer is saved.

Also, you can refer to our video tutorial, as some of the relevant components might help you with configuration.
https://www.youtube.com/watch?v=H5hSoFkKsy0

To help us investigate the missing conversations issue, please share a screen recording showing the steps you follow when deleting a contact and messaging the WhatsApp number again. This will help us understand the behavior and investigate further.

We hope this clarifies the points above and look forward to your response. If the issue persists, kindly let us know if we can schedule a Google Meet, as per your feasibility and address all your concerns.

Thanks & Regards,

Shekh Dilshekh

Customer Support Specialist

🌐 Pabbly.com

🎉Black Friday Early AccessSignature image

Pabbly Support — Reply ·

Hello!

Just a quick follow-up to check if you need any further assistance from our side.

Thanks & Regards,
Soumya Tripathi
Customer Support Lead
🌐 Pabbly.com
🎉Black Friday Early Access
Signature image

Pabbly Support — Reply ·

Hello,

We noticed that we haven’t received a response regarding your query.

As there has been no update, we are closing this support ticket for now. If you still need assistance, please feel free to open a new ticket, and we’ll be happy to help.

We would also greatly appreciate it if you could share your feedback on your support experience using the following link: https://bit.ly/3V2Pjia

Thank you for choosing Pabbly!

Thanks & Regards,

Shekh Dilshekh

Customer Support Specialist

🌐 Pabbly.com

🎉Black Friday Early AccessSignature image

Back to all forum threads · Log in to reply