Courses → Adventures in AI

Functions and Fun!
Transform Your Spreadsheets with OpenAI API and Apps Script. In this course I've tried to balance the fundamentals, foundations, and the fun. You'll have video tutorials on basic API functions, or you can copy the apps script and use it. I've kept updating the apps script as OpenAI released new models.

Look Over My Shoulder
I've also provided lectures that include you looking over my shoulder as I build something with the AI.  Headline writing, YouTube Title rewriting to name a couple so far. These projects are not necessarily meant to be finished products but rather show you step-by-step how I integrate the AI api call into a sheet.

Better Techniques
I'll be adding more tips and tricks as I develop them. And will be adding better techniques to this course on how to handle the text generated by AI.

Avoid Duplicate API Calls
For example you can see in the ChatGPT clone videos how to write AI output to a single cell reference and move all other text down by inserting a row. Doing so means that you don't have duplicate calls to the API every 10 minutes. In the original video of using AI API Calls a custom function in a cell using Apps Script will call the OpenAI API every 10 minutes. This is horrible user experience as you'll be charged for that from OpenAI. So instead of calling a custom function in a cell, use the button to trigger an apps script that can insert a row, and paste the text output to a cell, instead of a function.

Note: Also available on Udemy as part of Master Spreadsheet Automation

23Tutorials

Quickstart Tutorial OpenAI API in Google Sheets

Use the power of OpenAI's GPT-3 inside of Google Sheets. In this quick start tutorial I show you how to take OpenAI's curl commands and change them into Apps Script to use GPT-3 inside of sheets. We write a tweet, we ask questions. And now you can use this power for greater good!

Fast FAQS

New Tool for you: Fast FAQs. Create a quick 10 question FAQ for any new product or new feature you want. Even great for topics and theories. 
Sheet uses your own API Key from Open AI to power an AI FAQ generator. Then you answer the questions in the sheet. 

Once you've written the proper answers you can publish directly to Ghost, along with FAQpage schema structured data that is optimized for Google.

ChatGPT Clone in Google Sheets Part 1

In this tutorial, learn how to create a ChatGPT-like interface using Google Sheets and Apps Script. Record your questions and get answers from OpenAI's GPT-3 API. Follow this step-by-step guide to build your own interactive GPT-3 interface.

  • Style a sheet like ChatGPT. Use the correct colors and interface design.
  • Add new rows to record the questions/prompts.
  • Add rows for the responses, and answers we get from OpenAI API.