APIs to send customer email when customer make a transaction

monaatiah
Tourist
3 0 1

We want to track so that whenever a customer makes a transaction
We can automatically send them an email asking them about their satisfaction using the third party system 

So we need the APIs to send the customer email to the third party we used when a customer makes a transaction

0 Likes
garyrgilbert
Explorer
55 6 13

 

Not sure I understand what you need.. are you building an app, or have a store? 

The best way I can think of to accomplish what you are asking is to create a webhook for the orders/create. This will send the order information to the URL you specify then you can extract the customers email address and send it to the 3rd party so that they can send your satisfaction email.

 

See the webhooks documentation

https://shopify.dev/api/admin/rest/reference/events/webhook 

 

Cheers,

Gary

- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
0 Likes
monaatiah
Tourist
3 0 1

Thank you for your reply

 

Yes I have store, but still have not created an app for this

Why do we need to create App for this 

Can we use shopify flow instead of creating webhook , because we are on Shopify plus 

0 Likes
garyrgilbert
Explorer
55 6 13

Hi There,

Quite possibly. I haven't worked with Shopify flow yet personally but I know its pretty powerful in what it can do.

 

Cheers

- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
0 Likes