Run Group
Respond to Webhook
Start
Webhook
Trigger
Step 2
Create folder
Integration
Step 3
Respond to Webhook
Trigger
Configure
Transform
Step 4
Get emails with attachments
Integration
Step 5
Optional filter for emails
Decision
Step 6
Iterate over email attachments
Transform
Step 7
Is attachment a PDF?
Decision
Step 8
Read PDF email attachments
Integration
Not a PDF
Integration
Step 9
Is text within token limit?
Decision
Step 10
OpenAI
AI reasoning
Step 11
Merge
Decision
Step 12
Is matched
Decision
Step 13
Send email with invoices?
Decision
Upload file to folder
Integration
Step 14
Aggregate attachments
Transform
Outcome
Send to my accountant
Integration