Read Customer Stories
Digitization boosts DeRock Electric’s operations, efficiency, and profitability.
Built a a HIPAA-Compliant Start-Up and saved $250k+ saved/year.
Try Interactive Demo
No-code database platforms are transforming the way web apps are…
Template Marketplace
Supercharge your Work Order Management by managing work orders, assigning…
Supercharge your Work Order Management by managing work orders, assigning…

Integrating Open AI with Knack Flow

Related Posts

Hi there! My name is Dimitri from Knack, and in this video, I’m really excited to show you something great from Knack Flows. Knack Flows is awesome. It brings all the best parts of tools like Zapier or Make.com directly into your no-code workflows.

Creating a Content Management System

In this video, I’ll show you how to use OpenAI—specifically ChatGPT modules—to help with your content management system. I’ll start by either using a template or, in this case, using generative AI. I’m going to make a content management system for a content creation agency. Then I’ll press create, and it will build a simple but effective AI-enhanced content management system.

Exploring the App Interface

Let’s take a look at the app. Awesome—this is cool! We’ve got projects, clients, content pieces—really useful stuff like blog posts and infographics. Great setup.

Now, let’s say I want to add a couple of fields to the content pieces. I’ll add a paragraph text field and call it “Content Summary.” Then I’ll add another field for “Content Ideas Expanded.”

Adding Fields to Content Pieces

Next, I’ll go to Knack Flows and create a flow from scratch. I’ll name it “Ideate and create more ideas and image based on new content idea.”

Setting Up Triggers for Automation

Let’s add a trigger. It’ll be set to fire when a new content piece is created in the content management app. I’ll select “Record Created” and then choose the “Content Pieces” table.

Connecting to OpenAI

Now I want to use OpenAI for this. I’ll search for OpenAI and select “Create Chat Completion.” I’ll connect my OpenAI account by generating an API key. I’ll call it “Knack API Key,” copy it, and paste it into Knack.

Configuring ChatGPT for Content Creation

I’ll use ChatGPT 4.0 with a temperature of 0.9. The system prompt will say:

“Please take the title, content type, and content summary and add more color to the concept. Expand on the ideas to create a more refined content piece.”

We’ll use the “name,” “content type,” and “content summary” fields from the new record as inputs.

Updating Content with AI Responses

Then, I’ll add another action to update the original record. I’ll match the record ID from step one and update the “Content Ideas Expanded” field with the ChatGPT response.

Testing the Automation

Now let’s test it. I’ll create a new content piece called “How to Make Content with AI.” It’s going to be a video. I’ll add a summary like, “This video will explain how to create content easily with AI.”

Then I’ll submit the form and wait for the automation to complete. Once done, I check the record and see that it created a full video content summary—basically a script.

Reviewing Generated Content

It included tools like Pictory (an AI tool for video creation) and a step-by-step process. This is awesome. I simply entered an idea, and it gave me a whole content script.

You could also use OpenAI’s image generation module if you want to turn your idea into an infographic.

Exploring Additional OpenAI Features

Just before we wrap up, I want to show you some other OpenAI actions you can use in Knack Flows. In addition to chat completions, you can:

  • Generate images
  • Add images to records
  • Convert speech to text
  • Make custom API calls
  • Create embeddings

Whether you want to automate content creation or manage tasks with AI, these modules are powerful and flexible.

Conclusion

I highly recommend trying Knack Flows with OpenAI. It’s a powerful way to add automation without needing third-party tools. Thank you so much for watching this video—we appreciate your time, and we’ll see you in the next one.