Guys, holy Lord I need some help. Reward if successful (A kiss).

Seriously though I've been stuck on this for weeks, please help me. I also ran the bulk of this post through Gemini just for clarity sake.

I'm building a software backend with Xano and using Memberstack (currently in Test Mode) for auth, with signups happening via a Webflow form. I've hit a persistent wall trying to get Xano to process the member.created webhook from Memberstack, and it's driving me a bit nuts!

The Setup & Problem:

  • Memberstack sends a POST webhook with Content-Type: application/json when a new member signs up.
  • I've confirmed with webhook.site (and by looking at Xano's own Request History Input log) that the JSON payload being sent by Memberstack looks valid and structured correctly. Here's an example of what Xano's Input Log shows is received:

JSON

 Input (276 B){event: member.created,
payload: {id: mem_sb_cmajtmf8t00h30wksct606ui4,
auth: {email: test.test1@gmail.com},
metaData: {},
verified: false,
customFields: {last-name: Bren,
first-name: Gray},
planConnections: [0],
stripeCustomerId: null},
timestamp: 1746978045898} Request Headers Response Headers Output (80 B){code: ERROR_FATAL,
message: Unable to locate input: webhook_payload.event}

  • Despite this, Xano fails to process it during Function Stack execution.

What I've Tried in Xano (all triggered by a Webflow form signup, not just a test button):

  1. Endpoint Input as JSON**:**
    • Single input variable webhook_payload (Type: JSON).
    • First Function Stack step (e.g., Precondition webhook_payload.event === "member.created") fails.
    • Error: Unable to locate input: webhook_payload.event (even though the input log shows it).
  2. Endpoint Input as Text + json_decode filter:
    • webhook_payload input type changed to Text.
    • First Function Stack step: Create Variable decoded_payload = webhook_payload | json_decode.
    • Error: Error parsing JSON: Syntax error (again, despite the input log showing valid JSON text).
  3. No Endpoint Input + Get All Raw Input (Webhook) function:
    • This was suggested by Xano's AI documentation assistant, which also mentioned known issues with Memberstack webhooks.
    • Function Stack: Step 1: Get All Raw Input (Webhook) output to raw_input. Step 2: Stop & Debug.
    • Result: The raw_input variable is not populated in the Stop & Debug output (the output log is minimal, like {"payload":"","statement":"Stop & Debug"} and raw_input is missing).

I've double-checked for typos in paths like webhook_payload.event and webhook_payload.payload.id within Xano when attempting direct access. The Webflow form seems to be triggering Memberstack fine, and the data reaches Xano's input log looking correct.

Has anyone else experienced this specific issue with Memberstack (especially Test Mode) webhooks and Xano? Any known quirks, specific configurations, or workarounds I might be missing for getting Xano to reliably parse and access this payload during execution?

Any tips at all would be huge.

Posted May 11, 2025, 4:41 PM UTC

10
Loading comments…