Run Group
On email received
Start
On email received
Trigger
Step 2
Configure
Transform
Step 3
Has attachments?
Decision
Step 4
Iterate over email attachments
Transform
There are no attachments
Integration
Step 5
Is PDF
Decision
Step 6
Read PDF
Integration
Not a PDF
Integration
Step 7
Is text within token limit?
Decision
Step 8
OpenAI matches PDF textual content
AI reasoning
Ignore large PDFs
Integration
Step 9
Merge
Decision
Step 10
Is matched
Decision
Step 11
This is a matched PDF
Integration
This is not a matched PDF
Integration
Outcome
Upload file to folder
Integration