← All N8N workflows
AI & researchOpen AiRespond To WebhookSwitchWebhook

Workflow: Text automations using Apple Shortcuts

Configured with Open Ai, Respond To Webhook, Switch, Webhook. Review the connections and setup before adapting this template.

Workflow preview
RoutingSwitchSwitchWeb / APIRespond to ShortcutRespond To WebhookTriggerWebhook from ShortcutWebhookAI & modelsOpenAI - Make ShorterOpen AiAI & modelsOpenAI - Make LongerOpen AiAI & modelsOpenAI - CorrectGrammarOpen AiAI & modelsOpenAI - To SpanishOpen AiAI & modelsOpenAI - To EnglishOpen Ai

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.

Workflow node names, types, and operations
NodeCategoryTypeOperation
SwitchRoutingSwitchSee node parameters
Respond to ShortcutWeb / APIRespond To WebhookSee node parameters
Webhook from ShortcutTriggerWebhookSee node parameters
OpenAI - Make ShorterAI & modelsOpen AiSee node parameters
OpenAI - Make LongerAI & modelsOpen AiSee node parameters
OpenAI - Correct GrammarAI & modelsOpen AiSee node parameters
OpenAI - To SpanishAI & modelsOpen AiSee node parameters
OpenAI - To EnglishAI & modelsOpen AiSee node parameters

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

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.
Check these explanations [< 3 min]

Check these explanations [< 3 min]

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.

More in AI & research