Content Writer
In this guide, we’ll show you how to set up an automated, production-ready workflow to extract data from email attachments using Cradl AI, Google Sheets, and Zapier.
We’ll use invoices as our document type, but Cradl AI’s flexible and accurate AI models can handle just about any document layout.
Before we begin, make sure you’ve created a Cradl AI account.
Once you’re logged into Cradl AI, create your first AI model with just a few clicks. In this example, I’ll clone the Invoice model to keep things simple, but creating a model from scratch works just as well for other documents.
Customise the model to suit your needs by adding or removing fields based on the data you want to extract.
To try out your new AI model, simply upload one of your invoices, and the AI model will automatically extract data from it.
Cradl AI's "email trigger" simplifies connecting Cradl AI to any email inbox. Once enabled, it generates a unique email address. Any email sent or forwarded to this address with an attached document is automatically processed by your Cradl AI model.
To set this up:
Now that your AI model is working, we'll connect it with a Google Sheet.
Head over to your Google Drive and create a blank spreadsheet. Add headers that correspond with the fields you want to extract from your documents. In Google Sheets you add headers by simply typing values into the topmost cells:
Because Cradl AI currently does not have a native Google Sheets integration, we'll be using Zapier to integrate them for us.
When you're mapping Cradl AI's extracted data fields to your spreadsheet's headers, you'll notice that you can choose from way more fields than the handful you defined in your spreadsheet's headers.
99% of the time you are looking for those values that are prefixed with «Validated Predictions» and suffixed with «Value» , such as «Validate Predictions Purchase Date Value», «Validate Predictions Total Amount Value», and so on.
Once your Zap is activated, the automation is ready to run:
Clicking Validate triggers the Zap, sending the data directly to your Google Sheet. Within seconds, your spreadsheet will update with the extracted values.
With Cradl AI and Zapier, automating data extraction from email attachments is simple. Clone Cradl AI’s invoice model, customise the fields, and set up an email trigger to process incoming attachments automatically. Create a Google Sheet with the necessary headers, then use Zapier to integrate Cradl AI with Google Sheets. Each time an email with an invoice is sent to your Cradl AI address, the data is extracted, validated, and transferred to your spreadsheet.
We’ll help get you started with your document automation journey.
Schedule a free demo with our team today!