This workflow corresponds to n8n.io template #4750 — we link there as the canonical source.
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 →
{
"id": "OU7CNqiRY4Kbvq1a",
"meta": {
"templateCredsSetupCompleted": true
},
"name": "fetch-public-IP-address-for-n8n-instance",
"tags": [],
"nodes": [
{
"id": "1f1aa04c-fde0-4166-a714-451964e45fe5",
"name": "HTTP Request",
"type": "n8n-nodes-base.httpRequest",
"notes": "request public IP address information as json",
"position": [
300,
-160
],
"parameters": {
"url": "https://api.ipify.org",
"options": {},
"sendQuery": true,
"queryParameters": {
"parameters": [
{
"name": "format",
"value": "json"
}
]
}
},
"executeOnce": false,
"notesInFlow": true,
"typeVersion": 4.2,
"alwaysOutputData": true
},
{
"id": "ddb35464-535f-4ce4-a14d-682673690ca0",
"name": "Webhook",
"type": "n8n-nodes-base.webhook",
"notes": "simple webhook with header-auth",
"position": [
-140,
-160
],
"parameters": {
"path": "4879bc79-d6f8-48df-bfe4-613366c7f399",
"options": {},
"responseMode": "responseNode",
"authentication": "headerAuth"
},
"credentials": {
"httpHeaderAuth": {
"name": "<your credential>"
}
},
"notesInFlow": true,
"typeVersion": 2
},
{
"id": "a6ac927d-404d-44a7-8268-4609094c1346",
"name": "Respond to Webhook",
"type": "n8n-nodes-base.respondToWebhook",
"notes": "return an array from the workflow and end the webhook invocation.",
"position": [
740,
-160
],
"parameters": {
"options": {},
"respondWith": "text",
"responseBody": "={{ $json.data.pluck('ip').unique().toJsonString() }}"
},
"executeOnce": true,
"notesInFlow": true,
"typeVersion": 1.2,
"alwaysOutputData": true
},
{
"id": "20a55cc9-fba5-4392-a807-2783db6261bb",
"name": "Sticky Note",
"type": "n8n-nodes-base.stickyNote",
"position": [
-200,
-300
],
"parameters": {
"width": 1160,
"height": 380,
"content": "## to fetch the public IP address(es) for the hosting n8n instance\n\n* prerequisite: a header-auth credential with a uuid or an arbitrary random string.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n* example invocation\n$ curl -H \"api-key: super-long-api-token\" http://localhost:5678/webhook-test/4879bc79-d6f8-48df-bfe4-613366c7f399\n[\"88.88.88.66\", \"88.88.88.88\"]"
},
"typeVersion": 1
},
{
"id": "908003cf-f012-4bd6-8128-b3238de2507d",
"name": "Aggregate",
"type": "n8n-nodes-base.aggregate",
"position": [
520,
-160
],
"parameters": {
"options": {},
"aggregate": "aggregateAllItemData"
},
"typeVersion": 1
},
{
"id": "115d0f12-7ee0-4d0d-8086-f462e8bee197",
"name": "Repeat",
"type": "n8n-nodes-base.set",
"notes": "Repeat 10 times",
"position": [
80,
-160
],
"parameters": {
"options": {},
"duplicateItem": true,
"duplicateCount": 10
},
"executeOnce": true,
"notesInFlow": true,
"typeVersion": 3.4,
"alwaysOutputData": true
}
],
"active": false,
"settings": {
"executionOrder": "v1"
},
"versionId": "ea9c9b26-5362-4ee9-84b0-fae0bf02305c",
"connections": {
"Repeat": {
"main": [
[
{
"node": "HTTP Request",
"type": "main",
"index": 0
}
]
]
},
"Webhook": {
"main": [
[
{
"node": "Repeat",
"type": "main",
"index": 0
}
]
]
},
"Aggregate": {
"main": [
[
{
"node": "Respond to Webhook",
"type": "main",
"index": 0
}
]
]
},
"HTTP Request": {
"main": [
[
{
"node": "Aggregate",
"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.
httpHeaderAuth
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
If you need to use n8n to connect to service providers of yours, some of which happen to rely on firewall white-listing as part of their access control, you'll need to determine or verify the public IP addresses of your n8n instance(s).
Source: https://n8n.io/workflows/4750/ — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
This workflow automatically creates a subscriber in a given Beehiiv publication when a new opt-in is registered in a given Systeme.io sales funnel.
This workflow automates daily attendance tracking by analyzing uploaded attendance images, extracting participant names via VLM Run’s Execute Agent, appending the structured data into Google Sheets, a
This workflow is designed for dynamic and intelligent conversational capabilities. It incorporates Meta's llama3.3-versatile model for personal assistant. There are no issues when sending simple text
Google Sheet Watch Changes. Uses gmail, httpRequest. Webhook trigger; 5 nodes.
This workflow template creates an audio stream session on UltraVox compatible with Plivo and sends it to Plivo.