Leveraging Artificial Intelligence in Your Personal and Business Life

Leveraging Artificial Intelligence in Your Personal and Business Life

Hey everyone, welcome back to Corbin AI! In this video, I will show you how to leverage artificial intelligence in your personal and business life. Specifically, I will demonstrate a way to do chatGPT-oriented outputs using only code. There are a couple of reasons why I chose to show you this method. Firstly, it is more cost-effective as it eliminates excessive usage. Secondly, it provides you with more insight into your automation flows, allowing you to use code instead of chatGPT for specific outputs. To begin, let’s take a look at the Zapier toolkit. As we know, all these Zaps are essentially code in some form. However, there are functions that are not available in the toolkit, such as the ‘paths’ statement. To overcome this limitation, we can use the Code by Zapier feature. I

n today's example, we will use a code block to identify specific keywords in order to continue the flow. Previously, we would have used a chatGPT block for this task. However, with code, we can achieve the same result more efficiently. Let's start by setting up the code block. We will create a variable called 'desiredKeyword' and set it equal to the input data, which in this case is the title. Then, we will use the 'includes' function to check if the desired keyword is present in the input data. If it is, the result will be true; otherwise, it will be false. Now, let's test this code block. We will use an RSS feed as our trigger and provide a random investing news feed. After testing the trigger, we can see that the code block successfully identifies the keyword 'investor' in the title and returns true. To make the filtering process more dynamic, we can expand the code to include multiple keywords. We will create another variable called 'substrings' and add the desired keywords as elements in an array. Then, we will modify the code to check if any of the substrings exist in the input data. If at least one substring is found, the result will be true; otherwise, it will be false. In conclusion, using code blocks in your automations can provide more flexibility and efficiency compared to relying solely on chatGPT. By leveraging code, you can filter and process data based on specific keywords, allowing for more targeted automation flows. If you found this video helpful, let me know in the comments. I am considering creating more content on this topic, exploring the possibilities of combining chatGPT and code in automation flows. Stay tuned for more videos on AI and automation! Thank you for watching, and remember to explore more here at Corbin AI, where we demystify AI for your personal and business life. Until next time!
How to Use Follow-Up Prompts to Get the Best Results with ChatGPT
Older post

How to Use Follow-Up Prompts to Get the Best Results with ChatGPT

Newer post

How to Make $700 a Day: A Guide to Financial Freedom and Passive Income

How to Make $700 a Day: A Guide to Financial Freedom and Passive Income