Link Search Menu Expand Document

Gmail PDF Attachments to CSV - Zapier

PDF To CSV sample in Zapier demonstrating ‘Gmail PDF Attachments to CSV’

1. This is input Gmail email with PDF attachment. Upon receiving this email, we aim to convert PDF attachment to CSV file format.

2. PDF attachment is containing product information such as name, units and price.

3. We're creating zap with "Gmail" as input App and "New Email Matching Search" as preferred Event.

4. Next step is to provide source Gmail account with Search criteria. Here we have specified criteria like email should be from specific address and also should contain attachment. Only email with specific criteria will be considered for this zap.

5. Now Gmail source is configured, it’s time to test input data. Prior to hitting test trigger button, have one mail received which qualifies mail filter criteria. It's necessary for test trigger detection. If we review Test email data, It contains all email information along with attachment information like shown below.

6. In next step to proceed with "PDF to CSV" setup, we have "" as an input app and selected "PDF to Anything Converter" as method. This method facilitates converting PDF to most of formats such as JPG, CSV, XML, JSON, etc.

7. Different parameter values for "Customize PDF to Anything" are filled in this step. As we intend to have output in “CSV” format, "Output Format" parameter is having value "CSV". In "PDF URL" field we have provided "All Attachment" as input value. Lastly for "Name" parameter which represents name of output file, we have provided fixed name "Output.csv".

8. Prior to sending request to, we analyze input data which will be passed. 

9. After request is completed, it'll send json output data such as "url", "pageCount", "error", etc. Here "URL" field contains output csv file URL. 

10. If output csv file URL is opened/downloaded and file is opened, we can see it contains all PDF data in CSV format. With this we’ve achieved creating zap which will detect attachment from specific source, and process it with converting to output CSV. 
[Screenshot_10.png] Web API: the Web API with a set of tools for documents manipulation, data conversion, data extraction, splitting and merging of documents. Includes image recognition, built-in OCR, barcode generation and barcode decoders to decode bar codes from scans, pictures and pdf.

Get your API key here!

Download Source Code (.zip)

return to the previous page explore PDF To CSV endpoint