Workflow Icon


OpenAI integrations

Version 2024.11 by Alfred Team

This workflow requires Alfred 5.5, API Key from OpenAI.


  1. Create an OpenAI account and log in.
  2. On the API keys page, click + Create new secret key.
  3. Name your new secret key and click Create secret key.
  4. Copy your secret key and add it to the Workflow’s Configuration.

Hot tip: Using earlier models (e.g. ChatGPT 3.5 Turbo and DALL·E 2) is the most cost-effective way to use these OpenAI tools and stretch your credit a long way!



Query ChatGPT via the chatgpt keyword, the Universal Action, or the Fallback Search.

Start ChatGPT query

Querying ChatGPT

  • Ask a new question.
  • Clear and start new chat.
  • Copy last answer.
  • Copy full chat.
  • Stop generating answer.

Chat History

View Chat History with ⌥↩ in the chatgpt keyword. Each result shows the first question as the title and the last as the subtitle.

Viewing chat histories

to archive the current chat and load the selected one. Older chats can be trashed with the Delete Universal Action. Select multiple chats with the File Buffer.


Query DALL·E via the dalle keyword.

Start DALL-E query

Querying DALL-E

  • Send a new prompt.
  • Archive images.
  • Reveal last image in the Finder.