Skip to main content

AI hairstyle preview generator with OpenAI and LINE group sharing

Workflow preview

Workflow preview
100%
AI hairstyle preview generator with OpenAI and LINE group sharing preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

This workflow takes an image + instruction text from an n8n Form, edits only the hairstyle while keeping the face unchanged , uploads the result to Cloudinary , and pushes the image to a designated...

Best for

  • Content Creation automation workflows
  • Multimodal AI automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.formtrigger, n8n-nodes-base.httprequest, n8n-nodes-base.converttofile, n8n-nodes-base.webhook, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by kote2.

Original n8n.io source

1.1 Workflow description

Title
AI hairstyle preview generator with OpenAI and LINE group sharing
Workflow name
AI hairstyle preview generator with OpenAI and LINE group sharing

Overview

This workflow takes an image + instruction text from an n8n Form, edits only the hairstyle while keeping the face unchanged, uploads the result to Cloudinary, and pushes the image to a designated LINE group. It’s designed for salons or creative teams that need quick, consistent “hair-only” edits and one-click sharing to a staff group.

Key Features

  • Accepts image and free-form instructions via n8n Forms
  • Enforces identity preservation: face is not altered; only the hairstyle is modified
  • Uses OpenAI Image Edit to generate the edited image
  • Uploads the output to Cloudinary and returns a public URL
  • Sends the final image to a LINE group via the Push API (no replyToken required)
  • Optional safety: store the groupId once (via webhook) in n8n Data Store and reuse it, avoiding mis-sending to individuals

Requirements

  • OpenAI API key (Image Edit capable model)
  • Cloudinary account with an unsigned upload_preset
  • LINE Official Account (Messaging API enabled) and the bot added to the target group (to capture groupId once)
  • n8n with Forms enabled and Data Store available

Notes

  • Replace placeholders like CLOUDINARY_CLOUD_NAME, CLOUDINARY_UPLOAD_PRESET, LINE_CHANNEL_TOKEN, and LINE_GROUP_ID with your values.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - On form submission

Type / Role
n8n-nodes-base.formTrigger - formTrigger
Config choices
Version 2.2

Block 2 - Create Image

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 3 - Convert to File

Type / Role
n8n-nodes-base.convertToFile - convertToFile
Config choices
Version 1.1

Block 4 - Upload Image

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 5 - LINE output

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 6 - LINE input

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 2

Block 7 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 8 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow AI hairstyle preview generator with OpenAI and LINE group sharing
Complexity intermediate
Nodes 8
Categories Content Creation, Multimodal AI
Author kote2
Published 18 Aug 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/7535/7535.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does AI hairstyle preview generator with OpenAI and LINE group sharing do?

This workflow takes an image + instruction text from an n8n Form, edits only the hairstyle while keeping the face unchanged , uploads the result to Cloudinary , and pushes the image to a designated...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Content Creation, Multimodal AI use case.