workflow variable help
# 🤝help
m
Green Arrow - Is the variable / property I am trying to use here but it says it doesnt exist. 2nd green arrow at bottom shows the variable. Yellow Arrow no longer exists as a variable

https://cdn.discordapp.com/attachments/1131243876661862530/1131243996975485028/help.png

I am also a noob lol
f
Does the variable exist in the flow properties?

https://cdn.discordapp.com/attachments/1131243876661862530/1131244215553249431/image.png

How did you create that variable?
m

https://cdn.discordapp.com/attachments/1131243876661862530/1131244747390984263/image.png

I forget if I added it here or using an api response
@famous-jewelry-85388
f
Do you have subflows?
m
like separate workflows, no, multiple nodes, yes @User
f
No need to mention me on each comment 😄 Okay, can you paste the code here?
m
sorry 🙂 yes I think so one sec
f
Perfect!
@microscopic-shampoo-2255 😛
m
haha love it, just figuring out how to do it
so how do I do that exactly lol where do I find the code to send
f
TYT 🙂

https://cdn.discordapp.com/attachments/1131243876661862530/1131248118084665416/help.png

m
nevermind i think i figued it out
f
This code 🙄
Perfect 👍
is this it?
f
No problem, that's the whole bot, I only needed the code. But both works
m
there's problems I probably dont evenknow I have lol but this is super amazing btw
f
I opened it, but I am not recieving thos erros
can you refresh the screen and try again?
m
yes one sec
like this?: const response = await axios.post("https://vidar.onrender.com/api/v1/prediction/1ea9ec6e-1836-4960-86b4-6c862be6a4fa", { "question":
Create a video marketing plan for ${workflow.aiBizOverview} with the goal of using video to help achieve the following outcomes ${workflow.aiDesiredOutcomes}
}, ); workflow.aiMarketingPlan = await response.data; and the aiDesiredOutcomes seems to work now? but the last one doesnt.
f
Are you facing errors when testing the bot?
m
It seems to give me the same answer for 2 different executions
so
this
const response = await axios.post("https://vidar.onrender.com/api/v1/prediction/6375988e-7e96-46cc-a4a6-265303249e4a", { "question":
Based on their Goals ${workflow.Goals} and Problems ${workflow.Problems} find the 3-6 Desired Outcomes most suited to these goals and problems and give me a list of JUST the Desired Outcomes
}, ); workflow.aiDesiredOutcomes = await response.data;
gives the exact same response as
const response = await axios.post("https://vidar.onrender.com/api/v1/prediction/1ea9ec6e-1836-4960-86b4-6c862be6a4fa", { "question":
Create a video marketing plan for ${workflow.aiBizOverview} with the goal of using video to help achieve the following outcomes ${workflow.aiDesiredOutcomes}
}, ); workflow.aiMarketingPlan = await response.data;
f
I believe this is a "vidar" issue
m
so like create a new one?
f
Do they have a testing interface?
m
OOOOO its onredner
ok ok that could def make sense thanks
f
👍 good luck with that
and happy bot building 🚀
m
thanks
yes this is so cool great job
f
You're welcome!
4 Views