PDF in Gmail to OpenAI

Hello everyone.
I’ve been stalled on a non-functioning automation for a week now.
I want to automate the following:
Arrives an email to Gmail > Automate attachment rescue (It’s a PDF) > move PDF to word or JPG > move it to OpenAI to pull some texts from Wold or JPG > Get those texts from OpenAI to Tally.

The issue is the Gmail attachment that arrives in PDF, at the end I have to pass some information to Tally or other form software.
Thanks in advance!!!

Welcome to the Make community!

You’ll probably need to add a Sleep module between the CloudConvert modules so that it has time to process the file.

Or not, depending on the conversion type.

In my case I didn’t need a Sleep module for this:

If you need further assistance, please provide the following:

1. Screenshots of module fields and filters

Please share screenshots of relevant module fields and filters in question? It would really help other community members to see what you’re looking at.

You can upload images here using the Upload icon in the text editor:

2. Scenario blueprint

Please export the scenario blueprint file to allow others to view the mappings and settings. At the bottom of the scenario editor, you can click on the three dots to find the Export Blueprint menu item.


(Note: Exporting your scenario will not include private information or keys to your connections)

Uploading it here will look like this:

blueprint.json (12.3 KB)

3. And most importantly, Input/Output bundles

Please provide the input and output bundles of the trigger/iterator/aggregator modules by running the scenario (or get from the scenario History tab), then click the white speech bubble on the top-right of each module and select “Download input/output bundles”.

A.

Save each bundle contents in your text editor as a bundle.txt file, and upload it here into this discussion thread.

Uploading them here will look like this:

module-1-output-bundle.txt (12.3 KB)

B.

If you are unable to upload files on this forum, alternatively you can paste the formatted bundles in this manner:

  • Either add three backticks ``` before and after the code, like this:

    ```
    input/output bundle content goes here
    ```

  • Or use the format code button in the editor:

Providing the input/output bundles will allow others to replicate what is going on in the scenario even if they do not use the external service.

Following these steps will allow others to assist you here. Thanks!

samliewrequest private consultation

Join the Make Fans Discord server to chat with other makers!

1 Like

Thanks Samliew, but it still doesn’t work. I’ll send you a screenshot of the modules in my scenario, so you can see what’s really wrong because I’ve been dealing with this problem for a week.
Thanks in advance


2_iterator

4_cloud convert
5_iterator 2

Oh, you are uploading the file from the Iterator, and not the output of the CloudConvert module.

For further assistance,

samliewrequest private consultation

Join the unofficial Make Discord server to chat with us!

1 Like

Guys, just to be sure as I’m working on similar concept - there is no way to actually upload PDF file to OpenAI? I’m trying different ways but as far as I can see - I can upload PDF only directly in to the chat…

Hello,

There’s a Upload a File in the OpenAI modules; you could give it a try.

Benjamin

1 Like

This might help, manage to figure it out

1 Like