Block 1 - Note: Webhook Input
- Type / Role
- n8n-nodes-base.stickyNote - stickyNote
- Config choices
- Version 1
This workflow is provided as-is. Please review and test before using in production.
This n8n workflow provides a simple yet powerful utility to convert Unix timestamps (seconds since epoch) into the universally recognized ISO 8601 date and time format. This is crucial for harmoniz...
n8n-nodes-base.stickynote, n8n-nodes-base.webhook, n8n-nodes-base.set, n8n-nodes-base.respondtowebhook
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by ist00dent.
Original n8n.io sourceThis n8n workflow provides a simple yet powerful utility to convert Unix timestamps (seconds since epoch) into the universally recognized ISO 8601 date and time format. This is crucial for harmonizing date data across different systems, databases, and applications.
When you trigger the webhook, send a POST request with a JSON body structured as follows:
{
"timestamp": 1678886400
}
The workflow will return a JSON response similar to this:
{
"convertedTime": "2023-03-15T00:00:00.000Z"
}
This simple conversion workflow can be drastically enhanced and leveraged in many ways:
Dynamic Output Formats:
Example using a Function node:
const date = new Date($json.timestamp * 1000);
const format = $json.format || 'iso'; // Default to ISO
let output;
switch (format.toLowerCase()) {
case 'iso':
output = date.toISOString();
break;
case 'locale': // e.g., "3/15/2023, 12:00:00 AM UTC"
output = date.toLocaleString('en-US', { timeZone: 'UTC' });
break;
case 'dateonly': // e.g., "2023-03-15"
output = date.toISOString().split('T')[0];
break;
case 'timeonly': // e.g., "00:00:00 UTC"
output = date.toLocaleTimeString('en-US', { timeZone: 'UTC', hour12: false });
break;
default:
output = date.toISOString(); // Fallback
}
return [{ json: { convertedTime: output } }];
Timezone Conversion:
Error Handling and Input Validation:
Reverse Conversion (ISO to Unix):
Integration with Data Pipelines:
Automated Reporting:
This workflow is a cornerstone for any automation involving diverse date and time data. By implementing the suggested upgrades, you can transform it from a basic converter into a highly flexible and reliable date-time processing hub.
This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
| Workflow | Unix timestamp to ISO date converter |
|---|---|
| Complexity | intermediate |
| Nodes | 6 |
| Categories | Engineering |
| Author | ist00dent |
| Published | 03 Jun 2025 |
Use the JSON export at /data/workflows/4623/4623.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
This n8n workflow provides a simple yet powerful utility to convert Unix timestamps (seconds since epoch) into the universally recognized ISO 8601 date and time format. This is crucial for harmoniz...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Engineering use case.