• 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.

Custom Variable Not Working

westy99

Member
Your Task History ID
IjU3NjUwNTY5MDYzMjA0MzM1MjY4NTUzNTUxM2E1MTYwNTQzNzBmMzEi_pc
Hi,

I've set 2 custom variables and I'm calling them in a workflow. One works perfectly and one doesn't. It doesn't output the variable data. Here's what the log shows.

Api Endpoint Url
Name
Url
Description
Status Idstat_r2WcDJ97yHcq4Nzri0SREvMaIYQeXsfHK8Dr83njmxF
Custom.cf VXojCZSxaY8cwGllQcPTui42IMxBvhuzWr4Jymenudj100000
Custom.cf Ryi4RwEuM9iM8Jzt6mH9wyUocvKTieVGSZdxevpwwho200000
Custom.cf SDNinyevU9FeijxvWiBCpYfK12JQ3Iy4pxNjPMLQ4mw300000

I'm trying to insert data in Close CRM. The custom variable is being output as %7B%7BcloseLeadID%7D%7D. Its name is {{closeLeadID}}.

I've attached an image with a bit more data. Any ideas?
 

Attachments

  • close issue.jpg
    close issue.jpg
    98.7 KB · Views: 19

Preeti Paryani

Well-known member
Staff member
Hello @westy99,

It appears that the issue is related to the field mapping in your workflow. We’ve recorded a short video to explain the details and provide guidance—please take a moment to review it.


Additionally, we’d appreciate it if you could share your exact use case with us. This will help us understand your requirements better and assist you more effectively.
 

westy99

Member
Hi, thanks for the help. Your video page doesn't work, I get an error.

Here's my use case..

Workflow 1 -> Get lead info from Close -> Run Browse AI task to scrape site (inputting client info)
Workflow 2 -> Webhook catches Browse AI task output when it's done running -> Update Close CRM with scraped info

So I'm trying to pass the LeadID and StatusID for Close CRM between workflows. Using a custom variable works fine for StatusID but not LeadID.

The only other way I know to do it is all in one workflow, but the issue is I have to put a delay in the workflow because I don't know when the Browse AI task in complete - it could take a minute.

Thanks.
 

westy99

Member
Thanks, but I don't want to manually map a LeadID, it will be different every time. That's the point of the custom variable. I defined my use case above, is there a better way to handle this? I'm unable to pass the LeadID between workflows using a custom variable so I need to find another way.
 

Preeti Paryani

Well-known member
Staff member
Hello @westy99,

Could you please confirm if your second workflow captures any unique identifier or detail of the lead in the trigger response? This would help us search for the correct lead and perform the update accordingly.

Kindly let us know, so we can suggest the most suitable approach for your use case.
 

westy99

Member
No, it doesn't capture any lead detail in the trigger response. I do have one solution I just figured out - I put the custom variable into the Pabbly Formatter and do nothing to it but find/replace the same character so the value is the same. I can then use that 'Result' variable instead of the custom variable and it works. Strange workaround.

I can't believe that's the best way to do it though.
 

ArshilAhmad

Moderator
Staff member
The custom variables are currently not recognized in the fields where you map the data. As a result, the Lead ID was being passed literally as '{{closeLeadID}}' instead of the actual variable value.

The workaround you applied is correct and will help you achieve the desired outcome.
 
Top