Shopify
Connect a Shopify store without writing code: paid orders arrive as conversions, and customers keep their profile and marketing opt-out in step. Setup takes about ten minutes, done once by whoever manages the store's settings.
Setup
- In OpenHouse, an administrator opens Settings → Integrations → Shopify and connects the store by its myshopify domain (
your-store.myshopify.com). OpenHouse shows a receiving address for that store, and sets the organization's conversion event toorder_completedontotalso paid orders count from the first delivery (an administrator can change it under Settings → Organization). - In Shopify, open Settings → Notifications → Webhooks and create one webhook per event below — four webhooks — each with format JSON and the receiving address as its URL.
- Under the webhook list, Shopify shows the key your webhooks are signed with. Copy it into the store's “Signing key” field in OpenHouse.
- Use “Send test notification” on any webhook. It appears on the connection in OpenHouse within seconds.
What each event does
- Order payment (
orders/paid): oneorder_completedevent on the buyer's profile, with the order total and the shop currency. It counts as a conversion while your organization's conversion rule namesorder_completed; under another rule, or none, the order is still recorded, just not credited. Test orders are ignored. - Customer creation / update (
customers/create,customers/update): name, email and country fill in and never erase. - Customer email marketing consent update (
customers_email_marketing_consent/update): the one event that carries marketing consent. Subscribing in Shopify opts the profile in if its consent was unknown; unsubscribing opts it out. A subscription in Shopify never re-subscribes a profile that opted out. Every accepted delivery also writes onemarketing_consent_updatedevent on the profile with what Shopify said —state,optInLevel(single_opt_in/confirmed_opt_in),consentUpdatedAt,source: "shopify"andshopifyCustomerId— so a segment can target single-opt-in subscribers and an automation can ask them to confirm. OpenHouse never writes consent back to Shopify: a person who unsubscribes through an OpenHouse email stays subscribed in Shopify Email until you unsubscribe them there.
Other events are acknowledged and ignored. Refunds are not recorded yet. Checkouts are not received — anonymous activity waits for a Shopify app integration beyond webhooks.
Which profile an event lands on
The Shopify customer ID is the profile's externalId — the same number as the Customer ID column in Shopify's CSV export, so profiles you import that way and events from the store meet on one profile. A customer OpenHouse has not seen before is matched to the one profile with the same email that has no externalId yet, which then receives the Shopify customer ID. A profile that already carries a different externalId is left alone and the customer gets a profile of their own — two profiles may share an email, and nothing is ever merged. When several profiles without an externalId share the email, the event is skipped. With no match, a new profile is created with the customer ID and marketing consent unknown. An order without a customer (POS, a manual order) is matched by email only, across every profile: one match attaches, several skip, none creates an email-only profile.
Security
Every delivery is accepted only when three things agree with one connection: its receiving address, the signature under your store's key, and the store domain Shopify sends. Anything else is refused before any of your data is read. The key is stored encrypted and never shown again; disconnecting a store stops its deliveries immediately and keeps what it already sent.