Invoice approver



Steps in this workflow
1
Email received
2
Extract with GPT-3.5
3
Add row to sheet
< $100
> $100
Path rules
4
Assign a role
6
Pay invoice ($)
7
Reply to all
Every time an email with an invoice arrives, extract key information from it and assign a manual task to pay the invoice to a different person depending on the amount
1
Email received

App Gmail
Trigger Email received
Every workflow starts with a trigger. When the triggering action is detected, usually an action in another app, a new run of the workflow is kicked off.
2
Extract with GPT-3.5

Relay.app’s built-in AI actions, Custom Prompt steps and mini Agents make it easy to leverage AI in a predictable, controlled way.
Paths
< $100
> $100
This path will be taken when the rules below match.

Paths make it super easy to create complex, multi-outcome workflows.
Documentation
descriptionFlow control: paths