Hi everyone,
I created an action to bring Google’s Gemini AI directly into your writing workflow. This allows you to select any text (email draft, code, questions) and get an answer appended immediately below the cursor, no copy/pasting required.
The Models: These actions leverage the new Gemini 2.5 Pro, which is currently the smartest model available on Google’s free tier. It gives you high-level reasoning for free. I also included a Flash version for instant speed.
Note: If you want to use Gemini 3, you can also do that but you need a paid API key. More on that below.
Features:
-
Non-destructive: It appends the answer; it never overwrites your original text.
-
Inline Processing: Works perfectly on selected text blocks.
-
Secure: Uses Drafts’ native credential storage for your API key.
How to use:
-
Get a free API Key from Google AI Studio.
-
Select text in your draft.
-
Run the action.
Note for Paid Users (Gemini 3.0): If you have a paid API plan and want to use Gemini 3.0 Pro, you can easily switch models. Just edit the script step in the action and change the model variable at the very top to "gemini-3.0-pro".
Download: Inline AI | Drafts Directory
Let me know if you find it useful!