{"product_id":"n8n-workflow-identity-callback-webhook-http-request-test","title":"n8n Workflow: Identity Callback Webhook + HTTP Request Test","description":"\u003ch3\u003eTest synthetic identity callback handling end-to-end—locally\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow creates a synthetic session, waits for an onboarding window, then accepts identity callback events via an HTTP webhook and validates that session state can be recovered and inspected through the \u003cstrong\u003elocal gridzen developer kit fixture service\u003c\/strong\u003e running on \u003cstrong\u003e127.0.0.1:8787\u003c\/strong\u003e.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCreates a new synthetic session\u003c\/strong\u003e by manually starting the workflow and calling the local fixture service at \u003cstrong\u003ehttp:\/\/127.0.0.1:8787\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSimulates an onboarding window\u003c\/strong\u003e by waiting up to \u003cstrong\u003e65 seconds\u003c\/strong\u003e using a bounded deadline before recovery is attempted.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRecovers persisted session state\u003c\/strong\u003e by calling the fixture service recovery endpoint after the wait window completes.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReceives synthetic identity callback events\u003c\/strong\u003e via an \u003cstrong\u003eHTTP POST webhook endpoint\u003c\/strong\u003e (the workflow exposes this endpoint for callback delivery).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eForwards the callback payload\u003c\/strong\u003e to the fixture service so it can apply \u003cstrong\u003etenant\/user binding\u003c\/strong\u003e and \u003cstrong\u003eidempotent event handling\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eResponds to the callback sender\u003c\/strong\u003e with the fixture outcome—returning \u003cstrong\u003eHTTP 200\u003c\/strong\u003e on success or \u003cstrong\u003eHTTP 422\u003c\/strong\u003e with a safe response including \u003cstrong\u003e“unknown\/permission_granted:false”\u003c\/strong\u003e on error.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eExposes an HTTP GET webhook\u003c\/strong\u003e endpoint to fetch and return the persisted session state from the fixture service for status inspection.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eVerify that your identity callback flow correctly updates session state when events arrive within a time window.\u003c\/li\u003e\n  \u003cli\u003eDebug idempotency and tenant\/user binding behavior by replaying callback payloads safely.\u003c\/li\u003e\n  \u003cli\u003eConfirm session recovery after a bounded onboarding delay using the fixture service reload endpoint.\u003c\/li\u003e\n  \u003cli\u003eProvide SaaS operators and automation engineers a repeatable local test harness (not cloud-dependent).\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRequires self-hosted n8n\u003c\/strong\u003e with access to \u003cstrong\u003eloopback\u003c\/strong\u003e at \u003cstrong\u003ehttp:\/\/127.0.0.1:8787\u003c\/strong\u003e (this does not work from \u003cstrong\u003en8n Cloud\u003c\/strong\u003e).\u003c\/li\u003e\n  \u003cli\u003ePair with \u003cstrong\u003egridzen-developer-kit\u003c\/strong\u003e (GitHub repo: \u003cstrong\u003eimmurray\/gridzen-developer-kit\u003c\/strong\u003e) and run the Python 3 fixture server per \u003cem\u003eexamples\/n8n\/README.md\u003c\/em\u003e.\u003c\/li\u003e\n  \u003cli\u003eUses n8n nodes: \u003cstrong\u003emanual trigger\u003c\/strong\u003e, \u003cstrong\u003ewait\u003c\/strong\u003e, \u003cstrong\u003ewebhook\u003c\/strong\u003e, \u003cstrong\u003ehttp request\u003c\/strong\u003e, \u003cstrong\u003erespond to webhook\u003c\/strong\u003e, plus \u003cstrong\u003esticky note\u003c\/strong\u003e for workflow clarity.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eSetup\u003c\/h3\u003e\n\u003cp\u003eClone \u003cstrong\u003ehttps:\/\/github.com\/immurray\/gridzen-developer-kit\u003c\/strong\u003e, start the supplied local fixture server, then copy the generated webhook URLs for \u003cstrong\u003e\/gridzen-fixture-callback\u003c\/strong\u003e (POST) and \u003cstrong\u003e\/gridzen-fi\u003c\/strong\u003e (GET).\u003c\/p\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46217899409587,"sku":"N8N-20861","price":60.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/KTX4IWfrfqjdiRzdo0Umg_O9x1lKLR.png?v=1791882233","url":"https:\/\/buyflowscripts.com\/products\/n8n-workflow-identity-callback-webhook-http-request-test","provider":"N8N Commerce","version":"1.0","type":"link"}