How to extract order number from email and automatically send email to confirm order

Creation date: 11/03/2024 12:38    Updated: 11/03/2024 12:38

HOW TO EXTRACT ORDER NUMBER FROM EMAIL ORDER AND

THEN AUTOMATICALLY SEND AN EMAIL TO CONFIRM ORDER


1. Firstly you need to create your automation to extract a field from the body of an email. In my example, I’m searching for an email that has arrived with the word “order” in it.



(see "1 extract field" screenshot)

2. Next you need to add in an “If Block”. In my example, I’m searching for emails with the word order in, that has an order number beginning with 1.



(see "2 if block" screenshot)

3. Finally, you need to add a send email command. In my example, I’m going to automatically send an email on to confirm that an order (with its order id) has been received.



(see "3 send email" screenshot)

4. If you click Message at the bottom of that screen, you can enter the wording of the email to be sent on.

(see "4 message" screenshot)

Files