Hi folks,
I'm working on a workaround to integrate Copilot Studio with Agents in AI Foundry, because at the moment that integration is not available.
I have an agent that calls a tool, and that tool triggers a Logic App flow via an HTTP call. The Logic App flow receives the agentId
, threadId
, and userQuery
, and executes the process steps to interact with the agent (create thread, create run, etc.). It then returns the threadId
and the answer from the AI Foundry Agent.
In order to maintain the conversation, I need to store the threadId
returned by the Logic App in a variable, so I can send it in subsequent calls. However, I can't find a way to create a variable that is associated with the conversation (or globally).
How can I do that?
Thanks in advance.