
Process invoices and documents from a Gmail or Workspace inbox automatically.
Overview
Gmail connects through Mailhook. Forward documents from Gmail to your agent’s email address and they are processed as they arrive.
Popular use cases
- Workspace AP inbox: forward invoices that reach your Google Workspace accounts payable address, filtered by supplier and attachment, so they’re processed on arrival.
- Expense receipts: forward emailed receipts from airlines, hotels and software vendors to an expense agent with a filter on those senders.
- Shipping documents: forward emails from carriers and freight forwarders that carry PDF attachments, so bills of lading are processed as they arrive.
Before you begin
- A Cradl AI agent with at least one processed document to test with.
- Gmail: Any Gmail or Google Workspace account. Workspace admins can turn off automatic forwarding or limit it to internal addresses.
How to set it up
- In Cradl AI, add an Email trigger to your agent and copy its email address. Cradl AI docs
- In Gmail, open Settings › See all settings › Forwarding and POP/IMAP, click Add a forwarding address, enter the agent’s address and confirm it. Gmail docs
- In Gmail, open the search options, fill in From and tick Has attachment, then click Create filter, choose Forward it to, pick the agent’s address and click Create filter. Gmail docs
Good to know
Gmail sends a confirmation to a new forwarding address before filters can use it, and filters forward only new messages.
