Developer & DevOps

Process HTTP requests with conditional logic and dynamic variable assignment

12 nodes 283 141 Automatic trigger
Download

Workflow Description

A workflow that accepts manual triggers or HTTP requests, evaluates conditional logic against incoming data, and assigns variables to control automation behavior. Designed for testing API pipelines and building dynamic processing workflows with granular control.

How it works

  1. 1.Activate the workflow manually or via external HTTP requests
  2. 2.Evaluate conditional logic against incoming payload data
  3. 3.Assign variables and route execution based on defined conditions
  4. 4.Document workflow logic using sticky notes for team reference

Use cases

  • Test API integrations before production deployment
  • Process requests dynamically based on specific criteria
  • Build DevOps automation with advanced conditional logic

Requirements

  • Basic understanding of HTTP requests and JSON format
  • Familiarity with n8n variables and conditional statements

Service Value

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

Apps Used

Note Manual Trigger Set HTTP Request If

Details

Trigger Automatic trigger
Nodes 12
Apps 5
Views 283
Downloads 141

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 (12)

/

Sticky Note1

Sticky Note

#1

When clicking "Test Workflow"

Manual Trigger

#2

Sticky Note4

Sticky Note

#3

Sticky Note5

Sticky Note

#4

Sticky Note6

Sticky Note

#5

API Auth

Set

#6

CREATE

HTTP Request

#7

IF Slug available

If

#8

RETRIEVE

HTTP Request

#9

UPDATE

HTTP Request

#10

Shortened URL

Set

#11

Done

Set

#12