• 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
    • 🔥 Pabbly Chatflow — Lifetime Access for $249View Offer

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

Trigger response data

aiweller

Member
Hi. I'm new to this forum.. I would like to ask how can I extract the trigger response data into a text or json file? For example, I'm using Pabbly Chatflow as the trigger and I want to create a file containing all the labels and values from the trigger response.

Thank you,
Ashley
 

Hrishabh.pabbly

Member
Staff member
Hello @aiweller ,

Thanks for reaching out!

Yes, you can easily store the label and value data from the trigger response by adding a Google Sheets action step right after the trigger.

Here's how you can do it:

  1. After your Chatflow trigger, add the action step:
    ➡ Google Sheets → Add New Row
  2. In the mapping fields, map the labels and their corresponding values from the trigger response.
  3. This will store each new response as a row in your connected sheet.
Let us know if you’d like help with setting this up or sharing a sample sheet structure.
 

aiweller

Member
Hi @Hrishabh.pabbly ,

Thank you for the reply. Yes Im aware we can map the data. But from what I seen, the labels and values are dynamic. Not all the time we get the same fields. For example the Chatflow trigger where if Pabbly Connect receives a voice message or document, there are different labels compared to a normal text message. If I hardcode the mapping I may miss out some fields.

And Im also trying to figure out how do I extract the attachments in the message received. Is it possible?

Thanks
Ashley
 

Preeti Paryani

Well-known member
Staff member
Hello @aiweller,

Thanks for sharing the workflow.

We understand that the response structure from Chatflow can vary depending on the type of message (e.g., text, audio, document). To help you better, could you please clarify how you'd like to handle these different types of responses? For example, what should happen when a text message is received versus an audio or document message?

If possible, please share a short screen recording explaining your intended use case. This will help us understand your requirement more clearly and guide you accordingly.
 

aiweller

Member
Hi @Preeti Paryani ,

I just wanted to know if its possible to get the labels and values in a text or json format. Sort of like in raw data that I could save into a text file. If not, is there a for each function that could loop through all the output labels and values dynamically.

Thanks.
 

ArshilAhmad

Moderator
Staff member
You need to disable 'Simple Response', then click on 'Re-Capture Webhook Response' and capture a new response in the trigger step. This will allow you to capture the response in the form of a JSON.
1753986227851.png
 
Top