Unlock OpenAI's Power: Automate Text Generation and Editing
detail.loadingPreview
This n8n workflow demonstrates powerful integrations with OpenAI models like Davinci-003 and ChatGPT. Automate text summarization, editing, and translation for efficient content workflows.
About This Workflow
This n8n workflow provides a versatile toolkit for leveraging OpenAI's advanced language models. It showcases how to perform various text-based tasks directly within your automation pipelines. From generating concise summaries of lengthy articles to translating text into different languages and even performing sophisticated edits, this workflow unlocks new possibilities for content creation and manipulation. It utilizes the n8n-nodes-base.openAi node for seamless integration, allowing you to harness the power of models like davinci-003 and chat models for diverse applications. The workflow also includes examples of using code nodes to prepare data for API calls and to structure prompts effectively, ensuring you can tailor AI outputs to your exact needs.
Key Features
- Automated Text Summarization: Quickly generate TL;DR versions of any text using advanced AI models.
- Effortless Translation: Translate content into German or other languages on demand.
- AI-Powered Text Editing: Utilize OpenAI for sophisticated text modifications and instructions.
- Flexible Model Integration: Seamlessly connect with
davinci-003andchatmodels (including GPT-3.5 Turbo). - Customizable Prompts: Craft specific instructions for tailored AI responses.
How To Use
- Trigger Workflow: Initiate the workflow by clicking "Execute Workflow" on the manual trigger.
- Input Text: Provide the text you want to process via the "Text-example" code node or by passing it as input to the workflow.
- Select OpenAI Node: Choose the specific OpenAI node for your desired task:
davinci-003-completefor general text completion.davinci-003-editfor specific text editing instructions (e.g., translation).ChatGPT-ex1.1/ChatGPT-ex1.2for chat-based summarization and translation.ChatGPT-ex3.1/ChatGPT-ex3.2for more advanced chat completions and DALL-E prompt generation (requires HTTP Request node setup).
- Configure Parameters: Within the selected OpenAI node, adjust parameters such as
prompt,instruction,maxTokens, andtemperatureto fine-tune the AI's output. - Credentials: Ensure your OpenAI API credentials are correctly configured in the n8n credentials section.
Apps Used
Workflow JSON
{
"id": "98fab2fa-4d33-4bf0-b936-4b99e2ccecfb",
"name": "Unlock OpenAI's Power: Automate Text Generation and Editing",
"nodes": 21,
"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: 98fab2fa-4d33...
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
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.
Automated PR Merged QA Notifications
Streamline your QA process with this automated workflow that notifies your team upon successful Pull Request merges. Leverage AI and vector stores to enrich notifications and ensure seamless integration into your development pipeline.
Robust Concurrency Control for n8n Workflows with Redis
Prevent simultaneous execution of critical n8n workflows or tasks using a centralized, Redis-backed locking mechanism. This reusable utility workflow ensures data integrity and resource management by allowing other workflows to acquire, check, and release locks.