Shopify external Integration via RESTful API

Topic summary

Goal: Send newsletter opt-in details (first name, last name, email) to an external CRM via REST when customers interact with the store.

Feasibility: Confirmed. Shopify can call external endpoints via Shopify Flow (built-in automation) to issue HTTP requests. A CRM is a Customer Relationship Management system; the “webhook” here is an event-driven HTTP request.

Proposed implementation (via Shopify Flow):

  • Install Shopify Flow.
  • Create a workflow.
  • Trigger: customer created.
  • Condition: check the customer’s email marketing/consent level.
  • Action: HTTP request to the CRM using variables (e.g., {{customer.firstName}}) to pass required fields.
  • An example workflow screenshot was shared (illustrative, not required to implement).

Plan availability: Shopify Flow is available on Advanced and Plus plans only.

  • For Basic plans, a recommended alternative is the Mechanic app, which can provide similar automation; the responder offered help building a Mechanic task.

Current status: The requester will try the suggested approach and report back; no confirmed resolution yet. The responder asked to mark the answer as a solution if it works.

Open points: Original ask mentioned “after purchase,” while the suggested trigger uses “customer created”; the workflow hinges on consent status rather than order completion.

Summarized with AI on December 27. AI used: gpt-5.

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?

1 Like

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

1 Like

Thanks a lot, Stella. I will let you know when my team is available for a quick discussion.

1 Like

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 :slightly_smiling_face:

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