Workflow: Text automations using Apple Shortcuts
Configured with Open Ai, Respond To Webhook, Switch, Webhook. Review the connections and setup before adapting this template.
Node categories in this workflow
- Routing
- Web / API
- Trigger
- AI & models
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.
| Node | Category | Type | Operation |
|---|---|---|---|
| Switch | Routing | Switch | See node parameters |
| Respond to Shortcut | Web / API | Respond To Webhook | See node parameters |
| Webhook from Shortcut | Trigger | Webhook | See node parameters |
| OpenAI - Make Shorter | AI & models | Open Ai | See node parameters |
| OpenAI - Make Longer | AI & models | Open Ai | See node parameters |
| OpenAI - Correct Grammar | AI & models | Open Ai | See node parameters |
| OpenAI - To Spanish | AI & models | Open Ai | See node parameters |
| OpenAI - To English | AI & models | Open Ai | See node parameters |
Setup
- Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
- Connect your own credentials through n8n’s credential store. Replace
REPLACE_WITH_*values with your resource identifiers. - Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
- 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
Workflow: Text automations using Apple Shortcuts
Workflow: Text automations using Apple Shortcuts
Overview
- This workflow answers user requests sent via Apple Shortcuts
- Several Shortcuts call the same webhook, with a query and a type of query
- Types of query are:
- translate to english
- translate to spanish
- correct grammar (without changing the actual content)
- make content shorter
- make content longer
How it works
- Select a text you are writing
- Launch the shortcut
- The text is sent to the webhook
- Depending on the type of request, a different prompt is used
- Each request is sent to an OpenAI node
- The workflow responds to the request with the response from GPT
- Shortcut replace the selected text with the new one
How to use it
- Activate the workflow
- Download this Shortcut template
- Install the shortcut
- In step 2 of the shortcut, change the url of the Webhook
- In Shortcut details, "add Keyboard Shortcut" with the key you want to use to launch the shortcut
- Go to settings, advanced, check "Allow running scripts"
- You are ready to use the shortcut. Select a text and hit the keyboard shortcut you just defined
Notes
- If you use rich formatting, you'll have to test multiple ways to replace characters in the output. For example, you might use
{{ $json.message.content.output.replaceAll('\n', "<br/>") }}in the "Respond to Shortcut" node depending on the app you use most. - This is a basic example that you can extend and modify at your will
- You can duplicate and modify the example shortcut based on your need, as well as making new automations in this workflow.
Workflow: Text automations using Apple Shortcuts
Workflow: Text automations using Apple Shortcuts
Purpose and structure
This folder contains the Workflow: Text automations using Apple Shortcuts workflow. Its executable nodes use openAi, respondToWebhook, switch, webhook. 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
Webhook from Shortcut
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/Respondtowebhook/1693_Respondtowebhook_Stickynote_Automate_Webhook.json MIT; preserve source notices.