The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"nodes": [
{
"name": "PostHog",
"type": "n8n-nodes-base.postHog",
"position": [
640,
280
],
"parameters": {
"eventName": "={{$json[\"query\"][\"event\"]}}",
"distinctId": "n8n",
"additionalFields": {}
},
"credentials": {
"postHogApi": "<your credential>"
},
"typeVersion": 1
},
{
"name": "Webhook",
"type": "n8n-nodes-base.webhook",
"position": [
440,
280
],
"parameters": {
"path": "f6d0071e-3cf9-49fd-8bbd-afdbea6b0c67",
"options": {}
},
"typeVersion": 1
}
],
"connections": {
"Webhook": {
"main": [
[
{
"node": "PostHog",
"type": "main",
"index": 0
}
]
]
}
}
}
Credentials you'll need
Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.
postHogApi
About this workflow
Create An Event In Posthog When A Request Is Made To A Webhook Url. Uses postHog. Webhook trigger; 2 nodes.
Source: https://github.com/Zie619/n8n-workflows — original creator credit. Request a take-down →