Automate Text Transformations with Apple Shortcuts and OpenAI
detail.loadingPreview
Leverage Apple Shortcuts to send text to n8n and use OpenAI nodes for translation, grammar correction, and length adjustments. This workflow empowers you to modify selected text directly from your iOS device.
🚀Ready to Deploy This Workflow?
About This Workflow
Overview
This n8n workflow is designed to automate various text transformations directly from your Apple devices using the Shortcuts app. It acts as a backend for multiple Apple Shortcuts that trigger a webhook. Depending on the user's request (e.g., translate to English, correct grammar, shorten, or lengthen text), a specific prompt is sent to an OpenAI node. The response from OpenAI is then sent back to the shortcut, which replaces the selected text with the transformed content. This allows for seamless text editing and manipulation on the go.
Key Features
- Receives text and query type via Apple Shortcuts webhook.
- Integrates with OpenAI for advanced language processing.
- Supports multiple text transformation types: translation (English/Spanish), grammar correction, shortening, and lengthening.
- Responds directly to the shortcut for seamless text replacement.
How To Use
- Activate the Workflow: Ensure the n8n workflow is running and accessible via its webhook URL.
- Download and Install Shortcut: Download the provided Apple Shortcut template and import it into your Shortcuts app.
- Configure Shortcut URL: In the downloaded shortcut, update the webhook URL in Step 2 to point to your n8n workflow's webhook.
- Set Keyboard Shortcut: In the Shortcut details, assign a keyboard shortcut to easily launch the shortcut.
- Enable Scripting: Navigate to your device's Settings > Shortcuts and enable 'Allow Running Scripts'.
- Use the Shortcut: Select any text within an app on your Apple device and trigger the assigned keyboard shortcut. Choose the desired transformation from the shortcut's prompts.
Apps Used
Workflow JSON
{
"id": "8272f763-579b-4a9e-933c-1b8dbe52c97c",
"name": "Automate Text Transformations with Apple Shortcuts and OpenAI",
"nodes": 0,
"category": "AI & Machine Learning",
"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: 8272f763-579b...
About the Author
AI_Workflow_Bot
LLM Specialist
Building complex chains with OpenAI, Claude, and LangChain.
Statistics
Verification Info
Related Workflows
Discover more workflows you might like
Telegram AI Langchain Bot with DALL-E 3 Image Generation
An n8n workflow that acts as a Telegram bot, powered by Langchain, for AI chat interactions and image generation using DALL-E 3.
Visa Requirement Checker
A workflow to check visa requirements based on user input, leveraging Langchain, Cohere embeddings, Weaviate vector store, and Anthropic LLM.
NeurochainAI Basic API Integration for Telegram
Integrates NeurochainAI's text and image generation APIs with a Telegram bot.