Unlock the Power of OpenAI with n8n: A Workflow Showcase
detail.loadingPreview
Explore a comprehensive n8n workflow designed to demonstrate various OpenAI model capabilities. This workflow showcases text completion, editing, and advanced ChatGPT interactions for summarization, translation, and even DALL-E prompt generation.
About This Workflow
This n8n workflow, "OpenAI-model-examples," provides a practical demonstration of integrating OpenAI's powerful language models into your automation processes. It highlights how to leverage different OpenAI models like davinci-003 and chat/completions through dedicated n8n nodes. You'll see examples of generating summaries, translating text, and even crafting prompts for image generation models like DALL-E. The workflow is triggered manually, allowing you to experiment with the provided text inputs and observe the diverse outputs generated by the AI, showcasing the flexibility and power of OpenAI within an n8n environment.
Key Features
- Diverse OpenAI Model Integration: Utilizes both completion and chat-based OpenAI models.
- Text Summarization: Demonstrates generating concise summaries (Tl;dr) of longer texts.
- Text Translation: Includes examples for translating content into different languages (e.g., German).
- AI-Powered Prompt Engineering: Shows how to generate sophisticated prompts for image generation models.
- Manual Trigger: Easy to execute and experiment with predefined text examples.
How To Use
- Trigger the Workflow: Click the "Execute Workflow" button on the manual trigger node.
- Input Text: The workflow includes a 'Text-example' node with a sample text. For custom inputs, you would modify or replace this node's output.
- Observe OpenAI Node Outputs:
davinci-003-complete: Generates a summary for the provided text.davinci-003-edit: Translates the input text to German.ChatGPT-ex1.1: Generates a summary using the chat model.ChatGPT-ex1.2: Translates text to German using the chat model.ChatGPT-ex2: Generates a summary with 5 appended emojis.Code-ex3.1&ChatGPT-ex3.1: Demonstrate a more manual approach to API interaction for chat completions, including system prompts.ChatGPT-ex3.2: Shows how to generate a DALL-E prompt based on previous AI outputs.
Apps Used
Workflow JSON
{
"id": "e39c0cb3-3b0e-4f46-8727-b04d07358007",
"name": "Unlock the Power of OpenAI with n8n: A Workflow Showcase",
"nodes": 25,
"category": "DevOps",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: e39c0cb3-3b0e...
About the Author
Free n8n Workflows Official
System Admin
The official repository for verified enterprise-grade workflows.
Statistics
Related Workflows
Discover more workflows you might like
Build a Custom OpenAI-Compatible LLM Proxy with n8n
This workflow transforms n8n into a powerful OpenAI-compatible API proxy, allowing you to centralize and customize how your applications interact with various Large Language Models. It enables a unified interface for diverse AI capabilities, including multimodal input handling and dynamic model routing.
Effortless Bug Reporting: Slack Slash Command to Linear Issue
Streamline your bug reporting process by instantly creating Linear issues directly from Slack using a simple slash command. This workflow enhances team collaboration by providing immediate feedback and a structured approach to logging defects, saving valuable time for development and QA teams.
Automate Qualys Report Generation and Retrieval
Streamline your Qualys security reporting by automating the generation and retrieval of reports. This workflow ensures timely access to crucial security data without manual intervention.