https://discord.gg/botpress logo
Setting workflow variables via an autonomous node
# 🤝help
p
I'm having an issue where I ask 5 questions to the user and then set variables based on those inputs. Once those questions are answered, an insight is displayed. Those variables will eventually be sent via Zapier to my email platform to send them a follow up email, with that insight - so its important I have all 5 variables. But I'm finding that the last variable just isn't getting set for some reason, even though the node is able to display it and pull the correct insight. Any insight? https://cdn.discordapp.com/attachments/1403028692577554453/1403028692858568714/Screenshot_2025-08-07_at_8.17.24_AM.png?ex=68960fcb&is=6894be4b&hm=d9d7da4353ae1ddb12fe40657786515577a2a5bdc1f989991f6c9fe50171f6ec&
p
If you print it, is the expected content there?
p
@prehistoric-airplane-85682 Yes you can see on the right side it displays the Industry as Fintech, but on the left the industry is blank. That's why im confused
p
Then it's a studio issue which would not affect your bot in production.
p
Ahh ok. I can try it in production. Thanks
@prehistoric-airplane-85682 ok I tried it in production and it still isn't working.
It sent an empty field to Zapier
p
Do you have it set as +r+w?
p
@prehistoric-airplane-85682 I'm assuming so. I created all the variables at the same time. Where can I go to confirm that?
p
if you scroll down to the bottom of the AN's pop-up you should see the workflow variables it has access to.
p
Oh yes. they are all +r+w
p
Could you send a report_id, you can create one by clicking on resources> report a problem, then fill out the details and make sure to attach a bot export. Please paste the generated id here.
p
@prehistoric-airplane-85682 how do I export the bot.
p
Just follow the above steps, there is a checkbox for the bot export.
p
@prehistoric-airplane-85682 now Im getting an error trying to submit a ticket 😩 .
Cannot read properties of undefined
Status code: 400
p
Ok well, the conversation variables have recently been made available to autonomous nodes so could you make the problematic one a conversation var and see if it works better?
3 Views