Skip to main content
Best answer

How do I get the full response of a Zapier action as plain text?


Forum|alt.badge.img+1

This isn’t particular to a specific app but more about Zapier actions in general.

Let’s say for example that I have a Clickup action in Zapier. It searches for a task by ID and also returns its subtasks. In another step, I want to pass that entire list of subtasks to an LLM. I need the full text output, even if it’s JSON or some other format (e.g. subtask, subtask ID, subtask name, etc all provided in one go). Example below:


But the problem is I can’t reference the complete output in other actions. I can only reference specific fields of the response, e.g. only subtask names, or only subtask IDs. 


I can’t pass that to the LLM because the subtask names are not associated with the subtask IDs, whereas in a complete JSON/API response, they would be in arrays and objects so that the LLM could recognise and process the subtasks properly.

Short of converting my Zapier action into its own custom webhook action, is there any other way to get the full response from a Zapier action?

Best answer by Troy TessaloneBest answer by Troy Tessalone

@MJ_IATC 

You can try using the Code app AI to help configure the code.

https://help.zapier.com/hc/en-us/articles/15666688064013-Generate-a-Code-step-using-AI-Beta

 

You can try asking ChatGPT for hep configuring the code for a Zap Code step.

View original
Did this topic help you find an answer to your question?
This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

5 replies

Troy Tessalone
Forum|alt.badge.img+14

Hi @MJ_IATC 

Check this workaround to get the RAW JSON:

 


Forum|alt.badge.img+1
  • Author
  • Beginner
  • 13 replies
  • August 5, 2024

@Troy Tessalone this might be what I’m looking for (though I wish there was a built in option that didn’t require a workaround). Will give it a try to be sure. Thanks!


Troy Tessalone
Forum|alt.badge.img+14

@MJ_IATC 

A Code step could also be used to make the API request and get the raw JSON response.

 

I’ve wanted a default raw JSON response option in Zap steps for years!


Forum|alt.badge.img+1
  • Author
  • Beginner
  • 13 replies
  • August 5, 2024

@Troy Tessalone The code step sounds interesting. Do you have any resources on that? If not, mind briefly describing what it is I’m supposed to be doing in the code step? 
 

I agree, I wish these features were made more readily available for users that need them. I’ve only been using Zapier for less than a year and I’m finding myself already needing it. 


Troy Tessalone
Forum|alt.badge.img+14
  • Zapier Expert
  • 31170 replies
  • Answer
  • August 5, 2024

@MJ_IATC 

You can try using the Code app AI to help configure the code.

https://help.zapier.com/hc/en-us/articles/15666688064013-Generate-a-Code-step-using-AI-Beta

 

You can try asking ChatGPT for hep configuring the code for a Zap Code step.