Skip to content
Developer & DevOps

Extract today's date and day name using a function node

2 nodes 554 204 Automatic trigger
Download

Loading workflow…

Workflow Description

A lightweight automation that retrieves the current date and day of the week when manually triggered, using a JavaScript function node to process temporal data dynamically without external integrations.

How it works

  1. 1.Trigger the workflow manually using the manual trigger button
  2. 2.Execute a JavaScript function to extract today's date and day name
  3. 3.Output the results as variables for use in subsequent workflow steps

Use cases

  • Add timestamps to logs and operational records
  • Embed date and day information in email notifications and alerts
  • Extract date data for downstream data processing and conditional logic

Requirements

  • Access to n8n platform with permission to execute workflows manually
  • Basic familiarity with JavaScript date and time methods

Service Value

Ready-made workflow template for automation delivery and service execution.

Apps Used

Manual Trigger Code

Details

Trigger Automatic trigger
Nodes 2
Apps 2
Views 554
Downloads 204

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (2)

On clicking 'execute'

Manual Trigger

#1

Function

Function

#2
Stay in the loop

Fresh workflows, straight to your inbox

Get newly published DROPIDEA workflows, a clear overview of what they do, and a link to explore them.

  • New workflows
  • Clear overviews
  • Setup guides

Be first to discover what is new

Your name, your email, and one confirmation.

Email confirmation · Unsubscribe anytime