← ClaudeAtlas

create-and-update-access-records-for-purchased-productlisted

Build a Zap on Zapier that creates or updates a user's access record in your user management API when a paid Shopify order includes the configured product. Use when a store sells a product that should grant a user account or access, and onboarding should start as soon as the order is paid.
zapier/awesome-zaps · ★ 2 · AI & Automation · score 78
Install: claude install-skill zapier/awesome-zaps
# Create and update access records for purchased product The Zap's code lives at https://github.com/zapier/awesome-zaps/tree/main/zaps/create-and-update-access-records-for-purchased-product. Read the files there if this skill was installed on its own. ## What it does 1. **Trigger:** a paid order arrives from Shopify (`shopify`, `new_paid_order_v3`). 2. **Filter:** the workflow continues only if one of the order's line items has the configured product ID. Otherwise it stops with `skipped`. 3. **Email check:** the workflow needs an email address (customer email, then order email). Without one it stops with `skipped`. 4. **Webhooks by Zapier POST:** sends the email, name, `access_status` (`active`), and billing and shipping address summaries as JSON to your user management API. The API creates the user when no match exists, or updates the existing user with the same email. The workflow never matches or updates users itself; the user management API must match on email. ## Ask the user Each `REPLACE_…` value is set per person. Resolve names to IDs with the user's own connections; don't ask them to paste an ID you can look up. | Setting | What goes there | | ----------------------- | ----------------------------------------------------------------------------------------------------- | | `QUALIFYING_PRODUCT_ID` | The Shopify product whose paid orders grant access; look up it