Answered

How configure Shopify Flow to update contacts on Intercom

  • 7 December 2023
  • 1 reply
  • 28 views

Hi,

I’m trying to make a flow with Shopify Flow to update phone number and other data to Intercom.

Do you know how to do it?

On shopify Flow:
Action: Send HTTP request

HTTP Method: POST (?)
​​​​​https://api.eu.intercom.io/contacts (for Europe)
Key:
authorization: Bearer KEY(Intercom / create an app / access token)
content-type: application/json
Body:
{ ….. data…..}

What is wrong? everything? 😁 
 

I was doing it with Zapier but I would like to do it with Shopify Flow to decrease my Zapier account 

thanks
 

 

icon

Best answer by cameron.gumley 1 January 2024, 07:19

View original

1 reply

Userlevel 2
Badge +3

Hi@User2089 -- Cam from the Intercom Support team here!

Just to be totally transparent, given the Shopify Flow capability isn’t something we are able to provide official troubleshooting and support (as it’s built and managed by the team at Shopify) I’m not overly familiar with how it functions so the Shopify team may be the best people to reach out to on this. That being said, 2 things stand out in the details of the API call it looks like this ‘flow’ would be making:

  1. Assuming the app is calling the Update a contact endpoint of our REST API, this endpoint requires that a PUT method be used rather than a POST. If you’re able to adjust the method being used I’d certainly suggest trying this with a PUT method.
  2. It looks like you’re calling our EU API server (“​​​​​https://api.eu.intercom.io/contacts”) which you’ll want to do only if your Workspace is an EU hosted Workspace. If you’re Workspace is hosted via our standard servers then it’s a US hosted Workspace. If you’re unsure, login to your Workspace and if the URL shown appears as “...app.eu.intercom.com…” then it’s EU hosted, if it’s “...app.intercom.com...” then it’s US hosted. 

Hope this helps. Give these suggestions a try and let me know how you go!

Reply