Uncover Your n8n Instance's Public IP Address with Ease
detail.loadingPreview
Easily retrieve the public IP address of your n8n instance. This workflow automates the process, providing a straightforward way to monitor and manage your instance's network presence.
About This Workflow
This n8n workflow, named 'fetch-public-IP-address-for-n8n-instance', is designed to dynamically retrieve the public IP address of the server hosting your n8n instance. It leverages a simple HTTP Request to the api.ipify.org service, which returns the IP in JSON format. The workflow is triggered via a secure webhook, allowing external systems or manual calls to initiate the IP lookup. The retrieved IP is then aggregated and returned as a JSON string, making it easily integrable into other automation processes or monitoring dashboards. A sticky note within the workflow provides essential setup information and an example cURL command for invocation.
Key Features
- Automated IP Discovery: Dynamically fetch your n8n instance's public IP without manual intervention.
- Webhook Triggered: Initiate IP lookups through a secure webhook for seamless integration.
- JSON Output: Receive IP addresses in a structured JSON format for easy parsing.
- Clear Documentation: Includes a sticky note with prerequisites and an example invocation.
- Simplified Aggregation: Consolidates multiple IP lookups into a single, usable output.
How To Use
- Set up Header-Auth Credential: Create a new HTTP Header Auth credential in n8n. You can use any unique string as the API key value.
- Configure Webhook Node: In the Webhook node, ensure the
pathmatches a unique identifier (the generated webhook ID is recommended). Select 'Header Auth' for authentication and link it to your newly created credential. - Configure HTTP Request Node: No parameters need to be changed for the 'HTTP Request' node as it's pre-configured to fetch IP data from
api.ipify.orgin JSON format. - Configure Repeat Node: Set the 'Repeat' node to run once to ensure the HTTP Request runs at least once when the webhook is triggered.
- Configure Aggregate Node: Ensure the 'Aggregate' node is set to 'Aggregate all item data' to combine results from the HTTP Request.
- Configure Respond to Webhook Node: This node is pre-configured to extract the IP from the JSON response, ensure uniqueness, and return it as a JSON string.
- Activate Workflow: Save and activate the workflow. You can then test it using the provided cURL example or any tool capable of making HTTP requests with the specified header.
Apps Used
Workflow JSON
{
"id": "54fb46dc-68df-4dfc-a93f-1e68e14a15a0",
"name": "Uncover Your n8n Instance's Public IP Address with Ease",
"nodes": 23,
"category": "DevOps",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: 54fb46dc-68df...
About the Author
Crypto_Watcher
Web3 Developer
Automated trading bots and blockchain monitoring workflows.
Statistics
Related Workflows
Discover more workflows you might like
Automated PR Merged QA Notifications
Streamline your QA process with this automated workflow that notifies your team upon successful Pull Request merges. Leverage AI and vector stores to enrich notifications and ensure seamless integration into your development pipeline.
Automate Qualys Report Generation and Retrieval
Streamline your Qualys security reporting by automating the generation and retrieval of reports. This workflow ensures timely access to crucial security data without manual intervention.
Visualize Your n8n Workflows: Interactive Dashboard with Mermaid.js
Gain unparalleled visibility into your n8n automation landscape. This workflow transforms your n8n instance into a dynamic, interactive dashboard, leveraging Mermaid.js to visualize all your workflows in one accessible place.