Today I am going to show you how we can use OpenAI's ChatGPT to create an automated blog writing system inside Webflow. This way you can write your blog content with the click of a button and save yourself immeasurable time and money by automating this whole process!
I recently stumbled across the revolutionary new artificial intelligence tool named ChatGPT. Essentially, this tool allows anyone to have a normal conversation with a highly advanced artificial intelligence model. I have been absolutely floored at how life-like this model feels to interact with. With a quick input, ChatGPT can return you life advice, literature, poetry, and, importantly for us, blog content.
This new technology could have groundbreaking consequences around the world and, importantly for us on this channel, the No-Code revolution. With OpenAI's ChatGPT, it is now possible to create content with the click of a button. For those of us with blogs who find it difficult to come up with new ideas or to continually write new blog posts, ChatGPT may take away our burden.
In this video, I will combine this new AI tool with the No-Code ideas we have been exploring on this channel to create one seamless blog writing machine that a) takes our input topic b) returns us a full on blog post about that topic and 3) posts this blog post automatically, live onto our Webflow blog. This will all happen automatically with the click of a button!
Subscribe for weekly tutorials!
#chatgpt
#OpenAI
-------------------
💻 CUSTOM CODE -
// Change this to the name of a table in your base
let table = base.getTable('YOUR TABLE NAME');
// TAKE OUT SPACE AFTER "h" in "https"!!!!! I had to add this in for Youtube comment section - ALEX
let openaiUrl = "h ttps://api.openai.com/v1/engines/text-davinci-002/completions";
// Prompt the user to pick a record
// If this script is run from a button field, this will use the button's record instead.
let record = await input.recordAsync('Select a record to use', table);
if (record) {
// Construct the body
// Change the field name to match yours.
let body = {
"prompt": "Write me a long blog post about" + record.getCellValue("YOUR INPUT FIELD") + " in a professional and witty voice.",
"temperature": 0.3,
"max_tokens": 2024,
"top_p": 1.0,
"frequency_penalty": 0.0,
"presence_penalty": 0.0
}
// Make a request to OpenAI API
// Add your own API key in the place of Xses.
let response = await fetch(openaiUrl, {
method: 'POST',
body: JSON.stringify(body),
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR API KEY',
},
});
let data = await response.json();
// Comment this out if you don't want to see any outputs
console.log(data)
let str = JSON.stringify(data.choices[0].text)
// Write to a cell, change field name to match your table.
table.updateRecordAsync(record,
{
'YOUR OUTPUT FIELD': str
}
);
}
-------------------
Resources -
🤖 Open AI: https://openai.com
🌊 Webflow: https://try.webflow.com/l9bi5zf0cljy
⚡ Zapier: https://zapier.com
--------------------
Timestamps -
0:00 👋 INTRO
0:41 🤖 What is GPT-3?
1:41 🔑 Step 1 - Add Custom Code
6:13 🔨 Step 2 - Build Our Button
7:49 ⚡ Step 3 - Build Our Zap
12:33 🧪 TEST TIME!!!
13:55 ✌️ CONCLUSION
--------------------
✉️ Business Inquiries: [email protected]
--------------------
🎵 Music-
https://www.epidemicsound.com/track/n...
-------------------
👨 WHO AM I -
I'm Alex, a 27 year old Financial Analyst who lives in Nashville, TN. I'm now over half way through my twenties (I'm getting old!) and believe that I've acquired some valuable life advice over the past 6 years that I wish I knew when I was just entering my third decade of life. I make videos to pass on these life lessons to all of you (along with other ideas, tips, tricks, knowledge, experience, stories of success, stories of failure, etc.) so that you all can survive your twenties with more grace than I have managed so far!
Watch video EASIEST Way To Build AI-Generated Blog Writer In Webflow (GPT-3) online without registration, duration hours minute second in high quality. This video was added by user Alex Leischow 09 December 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 4,588 once and liked it 148 people.