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:

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