• Drafts AI Tools

    Drafts added scripting support for OpenAI’s ChatGPT already in version 39 together with a forum post which contains some example actions what you can do with it.

    I was very excited about that because there are many use cases for AI within Drafts. Summarization, creation of ideas, spell-checking, translation or simply answering questions – you name it. I created a few actions using the scripting API for myself which were very useful for me. I wanted to enable more users without scripting knowledge to create their own actions to be used with this integration. It took me a while to figure out what could be a solution by being flexible enough at the same time.

    I released the AI Tools action group today. It contains a few ready-to-use actions and a template action to easily create actions for your own use cases.

    My idea was to create a template action that users can duplicate and then configure for their own purposes. The action has three important configuration options that define what “question” is sent to ChatGPT with the option to include “input text” that e.g. should be translated and of course tell the underlying script, what to do with the response text from ChatGPT. The configuration is done with the so-called “Define Template Tag” steps in the action. They contain the available options so you can easily choose what you want. The action group description in the Drafts directory contains detailed information, on what the different options mean.

    If you want to try the AI Tools and create your own, just download the action group from the directory and make sure to read through the docs before using any of the actions or create your own.

    I really hope that the AI Tools action group is helpful for you and enables users to create helpful AI-powered actions for themselves without the need to script on their own. I would be interested to hear what you enjoy, what you dislike, and most importantly what use cases you created for yourself. I would be happy to hear from you on Mastodon.

    Under the hood the action runs another action from the action group which is not visible in the list that contains the full script – if you’re interested you can have a look at the action by navigating into the “manage action groups panel” and look for the “AIToolBuilderScript” action. The code of the script is available on GitHub, too.


Recent Posts

  • Experiments with Shortcuts for Raindrops

    Update: Turns out that you can use the highlight colors in raindrop to create more structured highlights in the markdown export. I always struggled using highlights since it was necessary to format them in the export to sort them e.g. below the heading they belong to. Now I just use the colors yellow > blue >…

  • On My Mind Action Group

    I was intrigued by Federico Viticci’s Workflow with his “On My Mind” Shortcut to simplify ‘Thought Capture’ he shared recently in the MacStories Weekly. Since I don’t use obsidian and heavily rely on Drafts as my main input tool I built an Action Group for the same purpose to use with Drafts which I want…

  • Craftist 0.7 is out 🤗

    Another step forward for my Craft eXtension to integrate with Todoist. Find all the details below 📝 and download ⬇️ the new release from the GitHub repository: https://github.com/FlohGro-dev/Craftist After installing it you have to Login again with your Todoist token If you have question’s / ideas or issues let me know 📮 Priorities Import 🔴🟠🔵⚪️…

  • combine drafts from workspace

    This action combines drafts from a workspace into a single draft.This action was inspired by this post in the Drafts Forum. The resulting draft will contain the content of all drafts in a bullet list with the creation time as a prefix: [Configuration] edit the script step of this action and change the variable workspaceName…

  • Get Craft Date Link For Today

    This shortcut just creates a link to the todays note for Craft and outputs it. It’s useful to integrate in other shortcuts with a “Run Shortcut” action where you want to have the todays date in a text. [Configuration] no configuration needed [Usage] If you want to e.g. build a shortcut to log something like…