4. First, click "Create New" from "My Project" and select "Create from Scratch".


5. Enter the title and select "Email".

6. Do not set any email trigger actions. Copy the created email address (any is fine). Press "Save" and wait with "Next". *Please note that if you set the trigger conditions at this stage, the forwarded email will not be received.
From here, configure Gmail settings. In this flow, we will start by forwarding emails received in Gmail to Yoom's email address to activate the email trigger. Therefore, first prepare the forwarding on the Gmail side. Please refer to the detailed steps from 7 to 11 here.
📩 How to forward emails from Gmail and activate email triggers | Yoom Help Center (intercom.help)
7. Open Gmail, go to "Gear icon at the top right > Show all settings", and set the Yoom address as the forwarding address.
8. Return to the Yoom settings page and click the confirmation link. Go back to the Yoom settings screen and select "Test" within the output sample settings page.
9. If the test is successful, copy the URL from the text displayed in the body, access it from another tab, and select "Confirm".
10. Return to Gmail, reload Gmail, and complete the forwarding settings.
11. Set up filters in Gmail.
12. Enter conditions in the email trigger and select "Next" (this time, we want to extract invoices, so include "invoice").

13. Send an email that meets the conditions to Gmail, perform a "Test", and if the test is successful, "Save".
Next, analyze the attached image PDF and obtain the output information.
14. Click the "+" displayed under the trigger settings of the saved flow and select "OCR" from the list of operation types.

15. Select the action "Read Qualified Invoice" and click "Next".

16. In the detailed settings, select the output information of the previously set email trigger from "Obtained values" for the file attachment method. If there is anything additional you want to extract, please add the item.

17. Perform a "Test", and if the output information can be obtained, "Save".
Finally, configure Slack notification settings.
18. Click the "+" displayed under the trigger settings of the saved flow and select "Integrate with app" from the list of operation types.
19. Select Slack, then choose the action "Send message to channel".

20. Fill in the "Channel ID" and edit the notification message. If the app is linked, you can select the channel ID from the candidates. In the message, you can also utilize the information obtained from image loading, so you can quote that information (output) in the body.

21. Perform a "Test", and if the test is successful, "Save".
22. Finally, switch the trigger to "ON" to activate it.
With this, the flow of "Notify Slack when an email with an invoice attached is received" is complete!