Skip to main content

Hi! I’m new to Zapier and after many searches for answers and tutorials watched, I’m confused on how to automate putting a text output from PDF.co into a chatbot like Chatgpt/Claude. I have 2 working triggers currently:

  1. Google Drive’s ‘New File in Folder’ when a new PDF is added to a specific folder
  2. PDF.co’s ‘PDF to Anything Converter’ to convert the PDF into usable text format → the output is a s3 URL that contains the text output 

The next step that I have been unsucessful in is to somehow automatically input the text output into a chatbot for its analysis. 

The overarching goal is I want to send information from decks to a chatbot to summarize according to some specific parameters. Most lines of thought says the best way to do that is to transform the PDFs into text format.

However, all of the tutorials I've read and watched require a user (me) to manually copy the text output into the chatbot. Otherwise, the chatbot just says something along the lines of, “I don't see any previous output URL or text content to summarize from earlier in our conversation. This appears to be our first interaction.” 

Is this process really only manually done by a human copy and pasting the output into the next step? 


Can somebody point me in the right direction if I’ve gone completely off course - maybe this is not the best way to do what I want to do?

Hi ​@NewHerePleaseHelp 

Help links for how to map variables across Zap steps: https://help.zapier.com/hc/en-us/articles/8496343026701-Send-data-between-steps-by-mapping-fields

 

Try this Zap action: AI by Zapier - Analyze and Return Data

Help: https://zapier.com/apps/ai/integrations#help


Thank you ​@Troy Tessalone! The links you shared were very helpful. I tried to add the ‘AI by Zapier - Analyze and Return Data’ zap. I was technically able to add the action successfully.

However, I think I’m encountering only AI hallucinations. Even though the PDF.co generated URL with text output is the correct information of the deck I put into the Google Drive, mapping that URL to the AI step above results in the AI generating random information repeatedly. It’s generating analysis answering my prompt correctly, but on a totally different entity that’s not the entity discussed in the deck. 

Am I mapping the wrong field (PDF.co’s URL field output that links to the information in the PDF as text format)? I feel like 100% of the AI answers being wrong is weird?

 


@NewHerePleaseHelp 

TIP: Click field labels to see tooltips with more info.

 

For Input Fields, you need to specify a left side label.

The screenshot does not show the prompt or how any other fields are configured.

 

 


This is the fuller screenshot of that zap. 

While the zap technically runs successfully, its output is wrong. For example, the content of the URL in the input field would be for OpenAI’ fundraise but the AI output will be information on Anthropic’s fundraise. 


@NewHerePleaseHelp 

You need to configure Output Fields

 


@NewHerePleaseHelp 

For the Input Fields you are providing a URL, not actual Text, so try changing the mapped variable from PDF.co to a variable that has the actual text that was parsed from the PDF.

 


Hey ​@NewHerePleaseHelp, just checking in! 👋

Did Troy’s suggestions for those Input and Output fields help you to get it sorted? Keep us posted on how it’s going!