Skip to main content
Question

Getting the Response from an Agent and saving it to Local variable

  • June 22, 2025
  • 8 replies
  • 80 views

I have an agent which summarise data from a one drive file. I want read the summary and save it to a local variable in my final step(writing to confluence). Please find the screenshot of the agent. Let me know what is wrong / how can I get the response and save to a variable.

Thanks in advance.

 

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

8 replies

Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • 34070 replies
  • June 23, 2025

Hi ​@TMathew 

Click underlined field labels to see a tooltip with more info.

For the Agent Output Fields, you need to specify the left side AND right side value for each key/value pair.

Help: https://help.zapier.com/hc/en-us/articles/26028298697485-Use-actions-on-Zapier-Agents

 

 


  • Author
  • Beginner
  • 9 replies
  • June 23, 2025

do I need to create the field in the agent as well? for example the “output_data”


Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • 34070 replies
  • June 23, 2025

@TMathew 

The tooltip and previous feedback indicate you need to specify BOTH the left and right side values for an Agent Output Field.

You can have 1+ Agent Output Fields. (click the button [Add Set Value])

e.g. If you wanted to have the Agent Output Email and Phone, then your key/value pairs would look something like this.

LEFT | RIGHT
Email | Email address parsed from the File
Phone | Phone number parsed from the File


  • Author
  • Beginner
  • 9 replies
  • June 23, 2025

my question is how this parsing can be done?  ​@Troy Tessalone 

 

 


Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • 34070 replies
  • June 23, 2025

@TMathew 

You would need to provide the Agent with the file contents to use to parse data points from.

RESOURCES for doing email parsing which is similar to doing document parsing in Zaps without Agents.
e.g. Zap action: AI by Zapier - Analyze and Return Data

 

 

If you need to hire help, there is a directory of Certified Zapier Experts: https://zapier.com/experts


SamB
Community Manager
Forum|alt.badge.img+11
  • Community Manager
  • 9736 replies
  • July 3, 2025

Hi ​@TMathew 👋

Just wanted to check how you’re getting on with this. Did the email parsing guide Troy shared help to point you in the right direction?

Keep us posted on your progress, happy to lend a hand if you’ve gotten stuck or have any more questions! 🙂


  • Author
  • Beginner
  • 9 replies
  • July 3, 2025

My trial period over and two of my zaps disabled may be will check later


JammerS
Forum|alt.badge.img+6
  • Zapier Staff
  • 3527 replies
  • July 4, 2025

Hi ​@TMathew,
 
We just wanted to see how everything is going with your Zap. Feel free to reach out if you need further assistance with your Zap. We're glad to address any concerns and assist you.
 
We're looking forward to your response.