How to add Fluent Forms into a chat bubble for offline communication.
Hey. I have earlier asked in another post about offline contact form in a chat bubble. I thought that WP Social Ninja had this feature but it does not...yet. As a client wants a chat bubble with an offline contact form I built it with ChatGPT. I have a tutorial for it here. I think this is also something I will use for other clients as well. As it creates another kind of available contact form.
https://easywebdesigntutorials.com/how-to-add-a-simple-chat-bubble-with-a-contact-form-in-wordpress/
The focus is on adding Fluent Forms into it, but other contact forms can also be used. Jorge de los ReyesΒ Jorge I am pinging you as you added a reply to my other post in relation to this.
Have a wonderful weekend. Saturday the 20th is my birthday..:)
EDIT: There is a FluentForms space I forgot exists. How do I move this comment from General and over to the FluentForms space? It looks like I am not able to do so. Seems like the admin needs to do so.
Thank you for tagging me. Iβll definitely check this out!
I have to retake this approach to finish the bubble chat I created for connecting a custom AI agent. Do not hesitate to give it a try. Itβs amazing how we can create this kind of things nowadays π
Jorge de los ReyesΒ That sounds interesting. Do you have the code any place available? It would be interesting to take a look.
Paal Joachim RomdahlΒ Not really. The code is buried somewhere in a Fluent Boards task π.
But I can look for it if you want. I think I saved the GPT conversation.
Hereβs what happened:
π I asked ChatGPT how to build a βbubble chatβ for my AI.
π Took the first code it gave me.
π Dropped in some ad hoc API keys on a test site.
π Got it workingβ¦ and then immediately hit pause.
Why?
Because it was exposing API keys in raw π . I figured Iβd need a webhook or something safer.
So yeah - if you ask ChatGPT the same question, youβll probably get the same literal snippet π
For me, it was a short-lived βvibe codingβ experiment.
I had no clue where to host the code privately, so I just killed it fast.
I was looking for the new containers on bunny as an example. But was not sure if they are made for this kind of experiments π
And -lawyer brain here π€- all I could see were potential issues everywhere.
I guess that using something like N8n to keep everything encrypted could work. But, I have not retaken the experiment. Maybe in the future, not sure!
Congrats for the article Paal Joachim RomdahlΒ !
Iβm sure itβll be super handy for anyone interested on lead gen π
I didnβt know you were on web designing since 1997!
π
Hey Jorge de los ReyesΒ
1997? Not sure where you got that from. I went to a tech school at that time and learned Photoshop and basic HTML. I had my first web site in perhaps 1999 using HTML and CSS. WordPress I began with in perhaps 2010 and began with easywebdesigntutorials.com in 2012. I work freelance and have various types of customers.
Paal Joachim RomdahlΒ I was referring to this paragraph
"A passion that became mixed in with Photoshop back in 1997. At the time I was taught Dreamweaver and built myΒ first web page."
:)
Jorge de los ReyesΒ Ahhh yes! I remember it was so cool to use Dreamweaver as it was one step up from coding using HTML.
Paal Joachim RomdahlΒ I remember those times too. I remember myself using it while also creating one "My Space" π€£
Jorge de los ReyesΒ O yeah! "My Space"...:)
Paal Joachim RomdahlΒ Hi Paal, can we use "Fluent Support" form instead of fluent forms in your provided code?
Hey arjun arjunΒ I asked ChatGPT about this here was one thing I am copying and pasting. "If you use Fluent Support, simply connect your Fluent Form (inside the chat bubble) to Fluent Support so every submission becomes a support ticket."
Does this answer your question? If not what are your thoughts?
Some more thoughts from ChatGPT.
Step 1 β Add a Fluent Form Inside the Chat Bubble
In the baseline code, weβre already embedding a Fluent Form shortcode:
<?php echo do_shortcode('[fluentform id="10"]'); ?>
Replace 10 with the ID of the form you want to connect to Fluent Support.
Step 2 β Create an Automation in Fluent Support
-
Go to Fluent Support β WorkFlows β Add New Workflow.
-
Choose Trigger β Form Submission (Fluent Forms).
-
Select the same form you placed in the chat bubble.
-
Add an action: Create a Support Ticket.
- Map the form fields to ticket fields (name, email, message, etc.).
- Choose the inbox/department where the ticket should land.
Step 3 β Test the Workflow
- Open your website, click the chat bubble, and send a test message.
- Check Fluent Support β Tickets β you should see the new ticket created automatically.
I can always test it out and add it to the tutorial if you feel that helps.
Paal Joachim RomdahlΒ Thank you so much Paal...you are so very helpful...appreciate your readiness in helping out with this sort of effort.
Hi arjun arjunΒ I went to test it out and came across this documentation: https://fluentsupport.com/docs/fluent-form-integration/
I added a link in relation to integrating Fluent Forms into Fluent Support Form at the end of my tutorial.
Paal Joachim RomdahlΒ Thank you Paal for the added detail.
Ahh, this is very interesting, thank you very much for this idea. I was thinking of buying WP Social Ninja only for this, but it felt stupid because I didn't really need the features it was built for.
I've used AI to help me code new things, but I haven't tried solving old problems with it. I will most likely use this as I'm currently using a SaaS chat solution even though 1. I'm not live to answer their questions instantly 2. I have FluentSupport installed and prefer to use it 3. It's heavy compared to this
So this finally solves my problem, thank you very much!
Hi Kristian PestiΒ I tried first adding a shortcode into the offline message box in WP Social Ninja regular and Pro but it is currently not possible. So I went to ChatGPT and after a few hours work was able to get a result I was happy with. Hopefully the team will add shortcode support into the message boxes in WP Social Ninja.
Paal Joachim RomdahlΒ this works! thanks for sharing....