Problem extracting phone number from Calendly webhook payload

  1. I am using the n8n Calendly Trigger (‘On event created’) to receive booking notifications.

  2. The trigger works correctly, and workflows are activated when someone books a meeting.

  3. I need to extract key data like name, email, and phone number from the webhook payload using a node (Edit Fields or Code).

  4. While name and email are extracted successfully (from paths like payload.name and payload.email), the phone number extraction consistently fails.

  5. The phone number is visible in the input payload (sometimes under payload.location, sometimes under payload.event_guests[0].phone_number), but expressions/code using these paths result in null or missing output.

  6. Could someone please advise on a reliable method to extract the phone number field from Calendly webhooks in n8n, considering potential payload structure variations?
    thank you for your help
    Rgds

Are you reciving raw JSON/XML from the webhook? Parse it. If that isn’t the issue, then regex could probably help you.