GitHub Webhook Payload to n8n Expression & Node Builder
Click through nested GitHub pull_request and repository JSON fields, extract label arrays with .pluck("name"), and copy a ready-to-import n8n Webhook workflow.
Webhook / Node Input JSON
Valid JSON
n8n Expression Evaluator
Live Evaluated Output
type: stringClickable JSON Path Explorer
Click to test or copyn8n Schedule Trigger Cron Simulator
Checking DST...Next 10 Scheduled Executions
| # | Workflow Timezone | Comparison Zone | UTC ISO |
|---|
Copyable n8n Schedule Trigger Node (v1.2)
Node & Edit Fields (Set v3.4) Config
Exportable n8n Workflow JSON
Valid Schema
Includes pinned test payload (pinData) so you can paste directly onto the n8n canvas with Ctrl+V / Cmd+V.
Deploy & Scale Your Workflow
Independent tool • Affiliate disclosureGitHub Webhook Patterns in n8n
- Flatten label arrays cleanly: Use
{{ $json.pull_request.labels.pluck("name").join(", ") }}to turn GitHub label objects into Slack-ready tags. - Filter draft PRs early: Combine
{{ $json.action === "opened" && !$json.pull_request.draft }}inside an n8n IF node. - Instant Respond to Webhook: Return HTTP 200 immediately using the included
Respond to Webhooknode to keep GitHub delivery logs green.
How do I extract all label names from a GitHub PR payload in n8n?
Use {{ $json.pull_request.labels.pluck("name") }} or .map(l => l.name) directly in an expression.