Notes, browser and translation
Use Alfred ChatGPT workflow with Shannon
Give Alfred's ChatGPT workflow your Shannon key and two environment variables, and the chatgpt keyword answers with Shannon models.
- From the Alfred ChatGPT workflow docs, Nov 7, 2026
- OpenAI Chat Completions
- About 3 min
About Alfred ChatGPT workflow
Alfred is a macOS launcher; its team's ChatGPT workflow adds a chat window opened by a keyword or a Universal Action. The workflow sends questions to an OpenAI-format chat completions endpoint. Two environment variables point it at Shannon models.
What you need
- A Shannon API key
- Keys & usage
- Base URL
-
https://api.shannon-ai.com/v1Endpoint:/v1/chat/completions - Every snippet below follows your choice.
Set it up
-
Install and add your key
Install the ChatGPT workflow from the Alfred Gallery. In the Workflow's Configuration enter your Shannon key as OpenAI API Key.
Workflow ConfigurationOpenAI API Key: YOUR_API_KEY -
Point it at Shannon
In Alfred Preferences open the workflow, click [x] at the top right and switch to the Workflow Environment Variables tab. Add the two variables below. With a host only, the workflow appends
/v1/chat/completions; a full URL is used as written.Workflow Environment Variableschatgpt_api_endpoint=https://api.shannon-ai.com chatgpt_model_override=shannon-3 -
Ask
Type
chatgptand your question in Alfred.
Check that it works
Send: chatgpt Name three colours a cat can be, in one short sentence.
You should see: A one-sentence answer naming three colours in the workflow's chat window.
Models that fit Alfred ChatGPT workflow
Every id below meets what Alfred ChatGPT workflow needs. The first one is the default in the snippets.
| Model id | Context window | Max output | Image input |
|---|---|---|---|
shannon-3 | 196,608 | 65,536 | Yes |
shannon-3-pro | 196,608 | 65,536 | Yes |
Kimi-K3-uncensored-3BIT-REAP | 225,280 | 225,280 | Yes |
Kimi-K3-uncensored-NVFP4 | 1,022,976 | 262,144 | Yes |
Good to know
- Workflows need the Alfred Powerpack.
- Alfred's FAQ calls other endpoints advanced configuration that its team does not support; the variables above are the documented way.
- The same workflow's DALL-E part needs image generation, which Shannon does not serve.
- Context in the configuration is the number of earlier questions and answers sent, not tokens.
Tips
- Ask about selected text with the Universal Action instead of typing the keyword.
- Lower Context to send fewer earlier questions and answers, and so fewer tokens, with each question.
- System Prompt in the configuration sets an initial message that guides every answer.
- Untick Keep History if chats should not be saved.
- For a reusable prompt, make a Keyword Input that feeds an Arg and Vars utility into a Call External Trigger set to
continue_chat.
Troubleshooting
| Symptom | Cause | Fix |
|---|---|---|
| "model not found" | chatgpt_model_override is missing, so the workflow sends its OpenAI model. | Add chatgpt_model_override with a Shannon id. |
[Connection Stalled] | The answer took longer than the timeout. | Raise Timeout in the workflow's configuration. |
401 Unauthorized | The key is missing, mistyped or rotated. | Copy the key again from Keys & usage; it starts with sk-. |
context_length_exceeded / "prompt is too long" | The conversation is longer than the model's window. | Start a new chat, let the tool compact it, or pick a model with a larger window. |
insufficient_quota | Your balance cannot pay for the request. | Top up or change plan; the request is not retried by itself. |
Questions
Does Alfred's ChatGPT workflow work with Shannon?
Yes: set chatgpt_api_endpoint to https://api.shannon-ai.com and chatgpt_model_override to a Shannon id.
Do I need an OpenAI account?
No. The workflow sends your Shannon key to the address you set.