← All N8N workflows
AI & researchCodeHtmlHTTP RequestManual TriggerOpen Ai

OpenAI-model-examples

Configured with Html, HTTP Request, Open Ai, Read Binary Files. Review the connections and setup before adapting this template.

Workflow preview
TriggerWhen clicking "ExecuteWorkflow"Manual TriggerAI & modelsdavinci-003-completeOpen AiAI & modelsChatGPT-ex2Open AiAI & modelsdavinci-003-editOpen AiAI & modelsChatGPT-ex1.1Open AiAI & modelsChatGPT-ex1.2Open AiCodeText-exampleCodeCodeCode-ex3.1CodeWeb / APIChatGPT-ex3.1HTTP RequestAI & modelsChatGPT-ex3.2Open AiAI & modelsDALLE-ex3.3Open AiAI & modelsChatGPT-ex4Open AiTransformSet-ex4Edit FieldsTransformHTML-ex4HtmlAI & modelsChatGPT-exOpen AiFiles / mediaLoadMP3Read Binary FilesWeb / APIWhisper-transcribeHTTP Request

Node categories in this workflow

  • Trigger
  • AI & models
  • Code
  • Web / API
  • Transform
  • Files / media

Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.

Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.

How it works

The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.

Workflow node names, types, and operations
NodeCategoryTypeOperation
When clicking "Execute Workflow"TriggerManual TriggerSee node parameters
davinci-003-completeAI & modelsOpen AiSee node parameters
ChatGPT-ex2AI & modelsOpen Aichat
davinci-003-editAI & modelsOpen Aiedit
ChatGPT-ex1.1AI & modelsOpen Aichat
ChatGPT-ex1.2AI & modelsOpen Aichat
Text-exampleCodeCodeSee node parameters
Code-ex3.1CodeCodeSee node parameters
ChatGPT-ex3.1Web / APIHTTP RequestPOST
ChatGPT-ex3.2AI & modelsOpen Aichat
DALLE-ex3.3AI & modelsOpen Aiimage
ChatGPT-ex4AI & modelsOpen Aichat
Set-ex4TransformEdit FieldsSee node parameters
HTML-ex4TransformHtmlSee node parameters
ChatGPT-exAI & modelsOpen Aichat
LoadMP3Files / mediaRead Binary FilesSee node parameters
Whisper-transcribeWeb / APIHTTP RequestPOST

Setup

  1. Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
  2. Connect your own credentials through n8n’s credential store. Replace REPLACE_WITH_* values with your resource identifiers.
  3. Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
  4. Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.

Requirements

An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.

Credential types declared in the source

  • openAiApi

Workflow notes

The old way of using text completion and text edit

The old way of using text completion and text edit

Davinci model is 10 times more expensive then ChatGPT, consider switching to the new API:

https://openai.com/blog/introducing-chatgpt-and-whisper-apis

OpenAI-model-examples

OpenAI-model-examples

Purpose and structure

This folder contains the OpenAI-model-examples workflow. Its executable nodes use code, html, httpRequest, manualTrigger, openAi, readBinaryFiles, set. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.

Setup

Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.

Entry points

When clicking "Execute Workflow"

Verification

Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.

Attribution

https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Readbinaryfiles/0171_Readbinaryfiles_Code_Automation_Webhook.json MIT; preserve source notices.

Canvas section labels

These name areas of the original canvas; they do not include explanatory instructions.

  • Whisper-1 example
  • An example of transcribed text
  • ChatGPT example 1.1 and 1.2
  • ChatGPT example 2
  • ChatGPT example 3.1
  • ChatGPT example 3.2 & DALLE-2 example 3.3
  • ChatGPT example 4
  • ChatGPT example 5
  • Do not run the whole workflow, it's rather slow

More in AI & research