Use REGEX to select date — n8n Workflow

Medium complexity Trigger6 nodes💎 Other👁 1,253 viewsby jason

Overview

This workflow looks for a Close Date value using REGEX in the IF node. If it finds the correct value, it will pass that value on. If it does not find the correct value, it will generate a value based on the present time plus three weeks.

The final result will show up in the NoOps node.

You can text this execution by enabling and disabling the Set node when you run the execution.

Nodes used

On clicking 'execute'Check for Close DateSet Close Date To OriginalNoOp

Workflow Preview

O
On clicking 'execute'
C
Check for Close Date
S
Set Close Date 3 Weeks L…
N
NoOp
S
Set Close Date
S
Set Close Date To Original
6 nodes6 edges

How it Works

  1. 1

    Trigger

    The workflow starts with a trigger trigger.

  2. 2

    Process

    Data flows through 6 nodes, connecting if, manualtrigger, set.

  3. 3

    Output

    The workflow completes its automation and delivers the result to the configured destination.

Node Details (6)

ON

On clicking 'execute'

manualTrigger

#1
CH

Check for Close Date

if

#2
SE

Set Close Date To Original

set

#3
NO

NoOp

noOp

#4

How to Import This Workflow

  1. 1Click Download JSON button on the right to save the workflow file.
  2. 2Open your n8n instance. Go to Workflows → New → Import from file.
  3. 3Select the downloaded use-regex-to-select-date file and click Import.
  4. 4Set up credentials for each service node (API keys, OAuth, etc.).
  5. 5Click Test Workflow to verify everything works, then activate it.

Or paste directly in n8n → Import from JSON:

{ "name": "Use REGEX to select date", "nodes": [...], ...}

Integrations

ifmanualtriggerset

Get This Workflow

Download and import in one click

Download JSONView on n8n.io
Nodes6
Complexitymedium
Triggertrigger
Views1,253
CategoryOther

Created by

jason

jason

@tephlon

Tags

ifmanualtriggerset

New to n8n?

n8n is a free, open-source workflow automation tool. Self-host it or use the cloud version.

Get n8n Free →