Documentation Index
Fetch the complete documentation index at: https://docs.affzero.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The Email Received trigger runs an automation every time an email is forwarded to a dedicated AffZero forwarding address. This is ideal for capturing invoices, receipts, reports, or any document sent by email — without granting AffZero access to your inbox. Forwarding addresses look likeauto-7gk2p9xr@inbox.affzero.com. You create and manage them in Providers → Email Forwarding, then assign one to any automation that uses the Email Received trigger.
How it works
- Go to Providers → Email Forwarding in the AffZero dashboard and create one or more forwarding addresses (within your plan limit).
- Create (or edit) an automation and set its trigger to Email Received. If you have multiple addresses, pick the one you want from the dropdown.
- Configure your email provider (Gmail, Outlook, etc.) to forward specific emails to that address.
- When AffZero receives a forwarded email, it runs the automation — extracting data, saving attachments, writing to Google Sheets, and so on.
Multiple automations can share the same address. When an email arrives, every enabled automation that references that address will run independently. This lets you, for example, extract invoice data and archive the PDF in separate automations from a single forwarded email.
Managing your forwarding addresses
All forwarding addresses for your account are listed in Providers → Email Forwarding in the AffZero dashboard. From there you can:- Create new addresses (up to your plan limit: Starter 1, Pro 2, Scale 5).
- Label each address with a friendly name (e.g. “Vendor invoices”, “Personal receipts”).
- Copy any address to the clipboard.
- See which automations use each address.
- Delete an address (after removing it from any linked automations first).
Setting up forwarding in Gmail
Add a forwarding address
Click Add a forwarding address and paste your AffZero forwarding address (e.g.
auto-7gk2p9xr@inbox.affzero.com).Confirm
Gmail will send a confirmation email to the address. AffZero will automatically accept it — this may take a few seconds. Click OK and the address will show as confirmed.
Optional: create a filter
Instead of forwarding all email, you can create a filter:
- Click Search options (the small arrow in the Gmail search bar).
- Set From to
billing@vendor.com(or whatever sender you want). - Click Create filter → check Forward it to and select your AffZero address.
Setting up forwarding in Outlook
Set conditions
Add a condition such as From contains
billing@vendor.com — or leave it broad to forward all email.Setting up in other providers
Most email providers support forwarding or rules. Look for:- Settings → Forwarding — add the AffZero address as the destination.
- Settings → Rules / Filters — create a rule that forwards matching emails.
Trigger filters
Inside the automation builder, you can optionally restrict which emails are processed:| Filter | Description |
|---|---|
| Only accept emails from | Only process emails where the sender matches (e.g. billing@vendor.com or @vendor.com). |
| Subject contains | Only process emails whose subject includes a keyword (e.g. Invoice). |
Variables available in steps
When the trigger fires, the following variables are populated and can be used in any subsequent step:| Variable | Description |
|---|---|
{email_from} | Sender email address |
{email_subject} | Email subject line |
{email_body_text} | Plain-text body of the email |
{email_received_at} | Timestamp when the email was received |
{attachment_count} | Number of attachments |
{attachment_1_filename} | Filename of the first attachment |
{attachment_1_mime} | MIME type of the first attachment (e.g. application/pdf) |
{attachment_2_filename} | Filename of the second attachment (if any) |
Attachment variables are numbered starting from 1. If the email has 3 attachments, you’ll have
attachment_1_*, attachment_2_*, and attachment_3_*.FAQ
Can I use the same address for multiple automations?
Can I use the same address for multiple automations?
Yes! Multiple automations can share the same forwarding address. When an email arrives, all enabled automations that reference that address will run independently. This is useful when you want to process the same email in different ways (e.g. extract data and archive the file separately).
How many forwarding addresses can I create?
How many forwarding addresses can I create?
It depends on your plan: Starter allows 1, Pro allows 2, and Scale allows 5 addresses. You can manage your plan in Settings → Billing.
Does AffZero read my entire inbox?
Does AffZero read my entire inbox?
No. AffZero only sees emails that you explicitly forward to the generated address. No inbox access or Gmail read permissions are required.
What happens if I forward an email that doesn't match the filters?
What happens if I forward an email that doesn't match the filters?
It is silently skipped. You can see filtered events in the automation’s execution logs.
Are scanned PDF invoices supported?
Are scanned PDF invoices supported?
The AI Extract step currently works best with digital (text-based) PDFs. Scanned or image-based PDFs may return empty text. Multimodal support is planned for a future release.

