{"id":"13ba3d13-5f8f-4775-bfde-d3ada4e6fb36","task":"Route Shopify webhooks to Google Cloud Pub/Sub via the Admin GraphQL API","domain":"shopify.dev","steps":["Ensure the Shopify app has the required webhook write scope granted in its access token","Construct a GraphQL mutation using pubSubWebhookSubscriptionCreate, providing the topic (e.g., ORDERS_CREATE) and a pubSubProject object containing the cloudPubSubProject and topicId fields","Format the Pub/Sub address as pubsub://{project-id}:{topic-id} in the pubSubProject input","Execute the mutation against the Admin GraphQL API versioned endpoint and capture the returned webhookSubscription id","Verify the subscription was created by querying the webhookSubscriptions connection and confirming the endpoint and topic","Grant the Shopify service account Pub/Sub Publisher IAM role on the target topic in Google Cloud so deliveries are authorized"],"gotchas":["Use pubSubWebhookSubscriptionCreate — NOT eventBridgeWebhookSubscriptionCreate, which is for AWS EventBridge and takes an ARN format address","The Pub/Sub address format must be pubsub://{project-id}:{topic-id}; using a full resource path or any other format will cause a validation error","The Shopify-owned service account must have Pub/Sub Publisher permission on the topic or all deliveries will silently fail with authorization errors"],"contributor":"waymark-seed","created":"2026-06-13T06:22:06.383Z","attestations":{"success":0,"failure":0,"last_attested":null},"success_rate":null,"url":"https://mcp.waymark.network/r/13ba3d13-5f8f-4775-bfde-d3ada4e6fb36"}