Automate WordPress Like a Pro With Bit Flows — Step By Step Tutorial
Skills:
AI Workflow Automation85%
Key Takeaways
Automates WordPress workflows using Bit Flows, a plugin for connecting and automating apps, with a step-by-step tutorial
Full Transcript
In this video, I'm going to recreate with you step by step a complex multi-step AI based workflow using Bit Flows. Bit Flows is a WordPress automation plug-in that will let you connect any app between each other, even apps and triggers and actions that happens entirely out of WordPress. The premium version is way cheaper than NA10 and Zapier. And right now, there is a huge Black Friday sale on their website. But even if you watch this video after this sale has gone, their pricing is very affordable and they offer a lifetime deal. I will leave you the chapters down below this video and all the relevant links. And now before getting started, my daughter has a favor to ask you. >> Please subscribe to my daddy channel. >> If you click on the subscribe button, you will be part of the small community of people that are watching my videos and are also subscribed. Congratulations. So the flow that we're going to recreate is this one. We have a free access. The user will subscribe here and they will create an account. They will be so added to WordPress of course. Then they will be added to mailer press which is a email marketing plug-in which lives inside WordPress 2. The user will be added also to a space inside fluent community inside my free community space and the user will receive an automated email crafted by openai ch. And in this email I will send dynamically the latest published course on my courses page with a call to action to go and explore it. So this is the whole step-by-step workflow. Let's go and recreate it together. Now once we install bit flows, we will find it here. We open up the dashboard and uh we can immediately actually go to the flows here. All right, we click on create flow and we give it a name. We will leave on blank and we will click on create. Okay, perfect. So this is our workflow. If you want to change the name of the workflow, you can just do it here on the top left. And u the first thing that we can set up is the trigger. You see? So basically the event that is going to make the workflow start. And in our case, the trigger is going to be the form completion. B basically when a user will submit a form. In my case, I will use bit form in the free version. Um there's going to be this trigger. So the workflow is going to start. Let's let's see here. If I type form, what happens? Look, we have a huge number of form plugins and apps that you can connect. And um if you go and check them, you see that you can connect even forms that are outside WordPress. Look, Google forms or type form or Mailchimp form, mailer light forms and so on. So you can connect basically between each other any kind of form. This is very good. But now we're going to use just a simple plug-in which is going to be bit form produced by the same team behind also bit flows. All right. And I'm going to use as a trigger a submit success. So basically each time a user submits this form which I created and it's called create free account form. This is the form that I have set up. As you can see I have some fields. I have the first name, the email field, the username and the password. And I'm using this form into this page. So each time that someone fills the form, the workflow is going to start. Now, as you can see, when I click on this trigger, it says listen response. And this is the operation needed in order for Bitflows to recognize that form and start collecting the data. So, we have to go here and fill the form once. And then we create our account. Great. So, the form has been filled. And when we go back now to bit flows, we see that the response has been captured. And here we can see all the data. If we open up here form data, we see we have four items. The first one is the username test Pascal. Then we have the email. Then we have the first name. And then we have the password field. All right, we can close it now. And basically we can go on creating all the actions that we want to happen after the trigger has been triggered. Let's go here and select the first step. The first step is going to be WordPress and it's going to be the user creation. So the first one is create new user. Look how many things we can do in WordPress. It is huge. And uh the first action is create new user, which is exactly what we wanted to do right now. So let's create a new user. And we're going to assign a role. In this case, it's going to be a subscriber. The email notification, we're going to leave it blank for now. We do not need to send a notification. The email field will be mapped now with our email field here. All right. The username field will be mapped also with our username field. And we're going to add also another field which is going to be the name. The first name. All right. We need to map also the first name with the first name field here. And then we're not going to generate password automatically because we are um also collecting a password field. Okay. In my case I I wanted to collect this password field. So this is the password field and I'm going to connect it here. And uh I can also go and test this new action. Let's go and do that. If everything is okay, you should see this message here, test run successful. And um we can go and see what happens now in the back end because if you go on users and you reload the page, you will see this new user appearing here in your user. So this means that the user is uh it has been correctly assigned to our WordPress website. Great. Let's go back here. Let's close now and we can go on with our steps. So the third step it will be to add our user to mailer press. All right, let's do that. They were very fast to add mailer press as a trigger and as um action. The Bitflows team is very fast at adding integrations. And here we can go and create or update a contact. Pretty easy, right? We just need to synchronize our email field which is this one. Then the first name field which is this one here. The last name we're not collecting it. It should be subscribed in this case. And we have to if you want you can just add to a default list or if you are using different lists you can of course synchronize them here. Let's go and test this. All right. And now when we reload our mail press page we will see our new user. It has been added correctly into our test. Perfect. So let's go on now and continue our flow. So this one is working fine. and we're going to close it. The fourth step is going to be also pretty easy and it is going to be the step where we're going to add a user to our free community in Fluent Community. Fluent Community is a very powerful plug-in. It has a free version and it has a premium version which is really really powerful. And I'm going to choose add user to space because in fluent community you can create multiple spaces basically that works pretty much like uh Facebook groups where people can go and post and uh talk and chat and do whatever they want uh like in a in a real community. This is a community. I really love this plug-in. And now we're going to check this automation to be able to automatically add members to our group here. Let's go and see if this is going to work. So the space where we're going to add some groups is going to be our free community. And this community has an ID actually. And to know which is the ID of my community, I need to go on settings. I need to go here on space groups and I need to hover with the mouse here. As you can see here, when I hover on the free community, I see ID number two. So let's go and fill out all the data that we need. The first one is going to be the user ID. Our user ID has been created in WordPress. So, uh it has to be taken from the WordPress step and it is this one. All right. Then we have the space ID. In my case, it's the number two. The one that I saw here when I over with the mouse. Great. And then we have the role. In this case, it's going to be just member. Simple member. Test run. All right. Test run successful. We see user added to space successfully. And if we go and reload now our community, when we go to the spaces, we're going to see four members instead of uh three. And if we click on members, you're going to see your new account. Look, joined a few seconds ago. And when we go and see it, test Pascal is the username and the spaces. Uh there is the free community. Great. Let's go back now to our bit flows, we can close this one, too. So basically, we have already four steps. Look, this is also already a pretty complex automation. You see we have someone subscribing to our account, creating a free account anyway, just subscribing to our website. Then we have a user creation process. Then we have here a link to our mailer email marketing platform. Then we have our free community. And then we can also add a few more steps. In the automation that I showed you at the beginning of the video, I just put inside here a step to collect all the data about my latest online courses to be able to then use those data inside Chad GPD to craft some personalized emails with dynamic data. Let's go and see how this is going to work. In this case, we're going to search for WordPress again. And we're going to use get posts by post type. All right. And uh we're going to use in this case courses because I want to um give to chat GPT access to my latest courses data. So let's go and use courses. All right. And I'm going to set a test and see what is going to happen. You see that now we have some data. We have just one item because I have just published one course. But if you have more than one course published or more than one custom post type in general published, you're going to see them all here. And you're going to see all the data available inside those items. In my case, I have the ID of the post, the post author, the post date, post date, GMT and so on, the post content, the title, the excerpt and all the different data that are linked to this specific course. And uh I can keep this data and then use them dynamically inside OpenAI. This is going to be the most tricky part and the most interesting part of our workflow where we're going to insert AI inside. Look how this is going to work. We're going to search for open AI. Not it is not the only AI available. As you can see here, we can use cloud, deepseeek, gemini, perplexity, and so on. In this case, we're going to use open AAI. And I'm going to create a chat. I need to use a connection here. And we must have a paid OpenAI account to use this feature. And uh basically, when you go and try to use this feature, you will be linked here. Look, when you click on add connection, you click on OpenAI API settings. All right. And basically here you will be able to create a new secret key. You will need to add your credit card and uh it will ask you to add at least $5 of credit which is pretty affordable. And with that small amount you can just start creating your workflows. And of course depending after on the volume of your workflows you will need to add more credit. But I'm using my five credit $5 credit since a few months now and I've never run out of tokens. So it is not very expensive anyway. It depends of course on the volume of traffic that you have. You can create a new secret key here. I have created mine here and uh then you once you have your secret key created you can go and uh paste it here on the value settings. You can also give it a name to this connection and then you will find it here. I click on the dropdown and I have my connection here that I have called WP roads open AAI. Okay. And I can select my model here. So depending on the kind of tasks that you need to run, you need to go and choose the appropriate model. In my case, I want to use the latest one. All right. And uh here there is all the configuration. The first setting here is about max completion token. So basically here you can limit the number of tokens utilized when the chatd is going to provide you a reply. But you have to be careful. It explains that if you limit this number and the number is too low, too low, sorry. It's going to basically truncate the reply of CH GPT. So yeah, you just need to make some tests here and see how this is going to work the best. And you can also save to the database the responses. You can just create a unique memory key. And if you want, you can also apply some context length. And uh in this case, I'm going to keep it simple. So this is not going to be useful in our case. We're just going to work now with messages, which basically are prompts. So this is the interface that we're going to use to create our prompts and to automate them. So the first one is going to be um developer system prompt. So basically this is a prompt that we can use to give some information about the context, the goal and so on. So we can use this value field to give all the information that we need to give to ch to provide our output. And as you can see here, if you want, you can also use all the data that you had in the previous steps to feed the value here for JPT. This is very interesting because you can develop many advanced kind of flows if you want and you can integrate AI also in this way in a dynamic way. But in our case, we're just going to craft a prompt here that is going to have just a few variables inside. And let me show you how this is going to work. Since my goal here is to obtain a customized email message, a welcome email message, I'm going to paste inside the developer system field here, which is basically the information that you provide to JPT in order to create the the output all the data that it needs to learn so to to use. So the role you are a WP roads AI assistant, you are an expert copywriter and your role is to welcome new subscribers to the community with an email message. Okay, so this is the the role and goal. Then this is all data about the output how the output must be. So the length uh the technical details and so on. Then I have the signature that it needs to be at the end of the emails some other details about the emails. And here it is very important to give some uh customized um dynamic data in this case. So instead of using this one I'm just to copy I'm just going to copy inside in here the dynamic value of my username. All right, let's go and do that. So my username, I'm going to use the one that is provided in WordPress. Maybe this is my get my post type. It is not interesting for me. This one neither this one. No. Okay, this one it hasn't got that much data inside. So I'm going to use just bit form in my case. And I'm going to place this name here. All right. Perfect. So this is going to be uh fed is going to be given to JPT in this case. And the tone is this one. Great. I need then to add the proper prompt which is going to be a user row. So I'm going to add another message and in the field here I'm going to use user. All right. And inside here I'm going to insert the actual prompt. Okay. We're going to copy the prompt inside here. So this is the prompt. Write a message to the user. Make him or her feel welcome and so on. Blah blah blah blah blah. And then we have some dynamic data. We want to charge GPT in this case to craft an email where it's going to promote our latest course. So I'm going to use the course URL in this case is going to be uh here. Okay, this is the course URL. Then we have the course title. It's going to be in my example here. This one post title. Perfect. Then we're going to use the course description which is going to be the post excerpt. All right. Perfect. Okay, that's great. We can go and make a test now. And in the output we're going to see in a few seconds if the test is okay perfect test run successful. And we see then that we have all the content here. Hi Pascal and WP roads AI assistant. This message is welcome blah blah blah blah. And we see here that it's going to link to all the different data that we have provided in the prompt and it's going to use also dynamically the reference to our latest online courses in my case. All right, that's great. Let's close it. And the final last step is going to be send an email. There are many different emails providers that you can use here. Gmail, mail, email octopus, rapid mail, elastic mail, and so on that you can use if you want to send emails. In my case, the simplest one for my tutorial purposes is this one, send email. Simple. And I'm going to use as a from email, just my administration email. All right. The from name is going to be WP roads team or AI assistant whatever. Then here the two field is going to be the email of the user. So I'm going to use in this case the email provided in the form which is this one. And uh the hidden copy is going to be sent to me so that I know each time there is an mail sent to my new subscribers. And I can jump in at any moment. All right. Reply to is going to be the same of the sender. The subject is going to be um custom subject. Hey, then the first name of the user. I'm going to use this data here. Welcome aboard. The body is going to be the output of OpenAI of JH GPT. So in my case is the content here. You see right? Okay. And then I'm going to use is this email in HTML format? Yes, it is. All right. So let's go and test this email. Sent successfully. Great. And it says, "Hi Pascal, I'm WP Roads AAI assistant. This message is to welcome you to the community and give you some information about our latest courses." So this is great is it has been all generated instantaneously by chajp and then here we have all the reference to our latest course. Take a look to our newest paid course good morning Gutenberg a view course. This is the link and it's a 12 hours online course that will help you get started with the site editor and build lightweight efficient websites of all kinds from blogs to e-commerce. See you inside the community WP roads AI assistant. Hit reply to talk with the team. That's huge. you see. Okay, let's make a final test. Now I have published also another course. So I want to check if my prompt is correct and uh it is going to take automatically the latest published course and promote it into the welcome email. Let's go and see how this is going to work. So I'm going to create now a free account to access the community. I'll type William a fake email just to check it out. Okay, William, let's create an account. Your account has been created. You can now log in here. Let's do it. Let's log in. And let's go and check into the community now. All right. We have our account correctly in spaces. We see that we have our Okay, William joined a few seconds ago. It's working fine. And uh Okay, so here is working. Let's go and see now the emails. There is this email. Hi William, I'm WP Rose AI assistant. This message is to welcome you to the community and give you some informations about our latest courses. So here you see that the presentation is slightly different from the other one and uh it is cool the fact that each message it's a little bit different but keeping the same tone because I'm just using the prompt where I have specified of course my tone. Here there is the link to my latest tutorials and here there is the promotion of my latest courses and this is taken dynamically. You see this is my latest course about Elementor Pro masterass and I can click here to access the course and so this is a great great welcome email. Let's go and check also all the other automation steps. The mailer press, we have William here. Great. And when we click on our website users, we have William here too. Great. Let's click here and center the workflow. We have in total seven steps. And we have created a beautiful automation using bit flows. Of course, you can go and test the flow if you want. And here there are the logs. This is very important to keep an eye on everything that's going on into our workflow. And when there are some errors, you can jump inside here, open up the details and see which is exactly the step which is causing some errors. You can re-execute. And if you need to do so, you can click here on the three dots. You can go on the flow settings and you can decide what should happen if any of the nodes of your steps here of your automation will fail. And if it is possible, the basic setting is on continue execution. Otherwise, you can also go and block the execution. In my case, I will leave on continue execution. I am super curious to know what do you think about bit flows. Are you already using it in your workflows? Are you building complex automations similar to the one that we saw in this video? So just let me know in the comment section below if you have any interesting idea also to share with me about new kind of workflows. I will be very happy to read it. I will leave you here now one of my other videos about Bit Flows where I explain to you how to collect user reviews, display them on your website automatically, and then reply with a follow-up email to the users that have left low stars ratings. All this using Bit Flows and the integration with OpenAI. I wish you all the best with all your WordPress projects and hope to see you in my next
Original Description
👉 Get Bit Flows (free & pro) https://wproads.com/bitflows (sponsor of this video)
In this video I'm going to show you how to connect and automate any app using Bit Flows WordPress plugin. In the example we will collect a form submission (Bit Form free plugin: https://wproads.com/bit-form), create a user in WordPress, add the user to MailerPress (https://wproads.com/mailerpress), add the user to FluentCommunity (https://wproads.com/fluentcommunity), get all the latest posts in WordPress, send dynamic data to ChatGPT and automatically craft a welcome email, send the email to the user.
Let me know if you have questions or feedback in the comments 💬
📚 *Chapters*
00:00 Easy WordPress AI Automations With Bit Flows
00:31 My daughter has something to ask you :)
00:46 The Workflow we will create in the video
01:28 Step 1 - Trigger - Bit Form Submission
03:51 Step 2 - Action - WordPress User Creation
05:25 Step 3 - Add User To MailerPress
06:23 Step 4 - Add User To FluentCommunity
08:51 Step 5 - Get Dynamic Data From WordPress
10:05 Step 6 - Integrate with ChatGPT and generate an email
16:12 Step 7 - Send email to the user
18:21 Testing the whole Workflow
20:44 Leave your feedback in the comments!
*Related Tutorials* 🔥
👉 Bit Flows Automation: Collecting Reviews & Filtering Low Stars rating + Sending Customized Follow-up E-mails - https://youtu.be/xA_lzonBvTo
👉 Bit Integrations: review of the plugin and practical examples to connect apps and send data from WordPress - https://youtu.be/QqKqcDAln2M
👉 Difference between Bit Flows and Bit Integrations - https://youtube.com/shorts/jUx3vrrokhc
*WP Roads Community* 👥
Join my FREE WordPress community today & connect with like-minded WP Roadies!
Unleash your WordPress potential! 🌟 https://wproads.com/community
*Featured WordPress Tools I use and Recommend* 🚀
Elementor Pro 👉 https://wproads.com/elepro
Elementor AI 👉 https://wproads.com/elementor-ai
Bit Flows 👉 https://wproads.com/bitflows
Bit Integrations 👉 https
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
More on: AI Workflow Automation
View skill →Related Reads
Chapters (12)
Easy WordPress AI Automations With Bit Flows
0:31
My daughter has something to ask you :)
0:46
The Workflow we will create in the video
1:28
Step 1 - Trigger - Bit Form Submission
3:51
Step 2 - Action - WordPress User Creation
5:25
Step 3 - Add User To MailerPress
6:23
Step 4 - Add User To FluentCommunity
8:51
Step 5 - Get Dynamic Data From WordPress
10:05
Step 6 - Integrate with ChatGPT and generate an email
16:12
Step 7 - Send email to the user
18:21
Testing the whole Workflow
20:44
Leave your feedback in the comments!
🎓
Tutor Explanation
DeepCamp AI