Workflow: Manual Import

Workflow Details

Download Workflow
{
    "nodes": [
        {
            "name": "On clicking 'execute'",
            "type": "n8n-nodes-base.manualTrigger",
            "position": [
                250,
                300
            ],
            "parameters": [],
            "typeVersion": 1
        },
        {
            "name": "Get Local Datetime",
            "type": "n8n-nodes-base.function",
            "position": [
                450,
                300
            ],
            "parameters": {
                "functionCode": "const moment = require('moment');\n\nlet date = moment().tz($env['GENERIC_TIMEZONE']);\n\nlet year = date.year();\nlet month = date.month(); \/\/ zero-indexed!\nlet day = date.date();\nlet hour = date.hours();\nlet minute = date.minutes();\nlet second = date.seconds();\nlet millisecond = date.millisecond();\nlet formatted = date.format('YYYY-MM-DD HH:mm:ss.SSS Z');\n\nreturn [\n  {\n    json: {\n      utc: date,\n      year: year,\n      month: month, \/\/ zero-indexed!\n      day: day,\n      hour: hour,\n      minute: minute,\n      second: second,\n      millisecond: millisecond,\n      formatted: formatted\n    }\n  }\n];\n"
            },
            "typeVersion": 1
        }
    ],
    "connections": {
        "On clicking 'execute'": {
            "main": [
                [
                    {
                        "node": "Get Local Datetime",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        }
    }
}
Back to Workflows

Related Workflows

YouTube Comment Sentiment Analyzer
View
InstaTest
View
OpenAI Assistant with custom n8n tools
View
LINE Assistant with Google Calendar and Gmail Integration
View
RAG on living data
View
Extractfromfile Gmail Send Triggered
View
Mailjet Automate Triggered
View
Manual GoogleSheets Automate Triggered
View
Schedule Removeduplicates Create Scheduled
View
Look up a person using their email in Clearbit
View