All things Shopify and commerce
This is regarding the Shopify e-commerce website and using this to purchase products for online customers.
We do have the use case if the customer opt-in for the newsletter by clicking the consent then we would like to collect the information and send it to the external system (CRM) as a webhook. The CRM will use this information to create the consent and send the eDMs to the customer.
My question is can Shopify invoke/trigger the external Restful API with the required fields (First name, Last name, email address, etc.) once the purchase is completed?
If yes could you please guide how this can be implemented?
Thanks a lot, Stella. I will let you know when my team is available for a quick discussion.
Hey Kiran!
Yep totally possible, but there could be a faster/cheaper option that building middleware to handle webhooks. Shopify Flow actually supports making http requests based on criteria. Those links take you to the Shopify documentation on how to use it.
Here's what you'd need to do:
1. Install Shopify Flow
2. Create a workflow
3. Set the trigger to customer created
4. Set the condition to read the email marketing level in the customer object
5. Create the http request according to your CRMs documentation and use variables in the body like "{{customer.firstName}}" to pick up the customer information and send it to your CRM.
Here's an example flow I created in my test store:
I hope this helps.
Cheers,
Mike
Thanks that helps a lot. We will try and let you know how that went.
Amazing, mark that as a solution if it works! If you have any other questions feel free to reach out 🙂
Hi Mike, I hope you are doing well.
Is the Shopify flow you suggested only available on the Shopify/Advanced plan or can it be done in the Basic plan as well
Hi Kiran!
Shopify Flow requires you to be on the advanced or plus plan. However there is an app called Mechanic where I believe you could achieve similar functionality if you're on the basic plan. If you need help building a mechanic task that's something we at Symmetry Commerce do!
Cheers,
Mike
We want to take a moment to celebrate the incredible ways you all engage with the Shopi...
By JasonH Oct 15, 2024Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024