Text automations using Apple Shortcuts

Nodes

2cf69bf8-d025-41db-983e-898d5f3acf5a9dd572aa-e531-4ffe-a66c-58ac7003ac5deb4d7d31-2fbb-4c15-b894-0022be7a4ecf

Created by

AgAgent Studio

Last edited 39 days ago

Overview

  • This workflow answers user requests sent via Mac 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

For a demo and setup instructions: Check the explanations

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

New to n8n?

Need help building new n8n workflows? Process automation for you or your company will save you time and money, and it's completely free!