Developer & DevOps

Create a graphic background using and and APIs

14 nodes 204 117 Automatic trigger
Download

Workflow Description

Automate the creation of dynamic graphic backgrounds by integrating multiple APIs, handling conditional logic, processing data through custom code, and delivering results via HTTP. Triggered manually to generate custom visuals based on external data sources.

How it works

  1. 1.Receive manual trigger and log workflow objective in note
  2. 2.Request image data from two different API endpoints simultaneously
  3. 3.Process API responses using custom code and evaluate conditional logic
  4. 4.Pause execution briefly before proceeding to final stage
  5. 5.Merge processed data and send complete background image via HTTP request

Use cases

  • Generate dynamic backgrounds for web and mobile application interfaces
  • Create customized graphics on-demand based on real-time data from external services

Requirements

  • Valid API keys for both external graphic services
  • HTTP endpoint configured to receive and handle the final background image

Service Value

Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.

Apps Used

Note HTTP Request Manual Trigger Code Wait If Set

Details

Trigger Automatic trigger
Nodes 14
Apps 7
Views 204
Downloads 117

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

/

Sticky Note

Sticky Note

#1

Midjourney Generator

HTTP Request

#2

When clicking Test workflow

Manual Trigger

#3

Get Prompt

Code

#4

Get Midjourney Task

HTTP Request

#5

Wait for Midjourney Generation

Wait

#6

Determine Whether the Image URL was Fetched

If

#7

Check Image Generation Status

Switch

#8

Design in Canvas

HTTP Request

#9

Get Image Url

Set

#10

Sticky Note1

Sticky Note

#11

Gpt-4o-mini API

HTTP Request

#12

Basic Params

Set

#13

Sticky Note2

Sticky Note

#14