Assigning to a workflow variable in the AI task in...
# 🤝help
c
I think this is possible, I have seen it somewhere, but can't make it working. Let's say a part of the AI task card instruction is something like this: "Set the variable question to the value of the variable event.preview", or "Assign the variable question the value "How are you?" - assuming this is possible, how should I word it for the AI task to understand to assign the workflow variable accordingly?
b
the AI task instruction is for you to describe what you want your bot to do, e.g. "Answer the user"
then the input is what gets sent to GPT
so if you wanted to send GPT your user's last message, you would use {{event.preview}} in the AI input
c
Yes, I understand this. I just thought that in addition to talking to ChatGPT Ai Task card has some additional functionality that allows me to assign variables. I guess I was mistaken hallucinating this functionality 🙂 Thank you.
b
hahaha
we all hallucinate from time to time
12 Views