Skip to main content
Question

Question about "Conversation with ChatGPT"; learning how it works

  • December 16, 2024
  • 1 reply
  • 33 views

I’ve used this in one other Zap but I’m still unclear on how it works.

I’m sending an email to ChatGPT and telling it to:

Parse the contact details from the lead.

Return as fully structured JSON object like this:

{

"Keyword": "",

}

I then send it over to Javascript for formatting into a JSON file.

The data coming out is pretty nicely formatted and it seems to intelligently extract a device name, amount of downtime and any URLs in the email (so somehow it knows that I wanted several lines of information after “keyword”).  However I want to understand how it is doing that, when all I asked it was to create a “fully structured JSON” object.   How does it know how to break down the output “list”?   It seems to be a pretty good guess on what values are important, but what logic is used to format the list from the inputted data?

 

I want to make slight modifications - namely - it gives me one line of text “server node name:  servername”.  I want it instead only include “servername”.

 

So how would that be done?

 

Thanks

 

 

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.

1 reply

Troy Tessalone
Forum|alt.badge.img+14
  • Zapier Expert
  • 30938 replies
  • December 17, 2024

Hi ​@rockymtnway 

The more specific instructions you provide as part of the AI prompt, the better the output will align with your expectations.

e.g. Give it the full exact JSON structure you want to use.

 

As an alternative, check out this Zap action: AI by Zapier - Analyze and Return Data

Description: Extract data, analyze information, generate content - and more.

You can specify the exact output fields you expect to be returned.