Video transcript
Video transcript
Visitors on your WordPress site have questions. What does this cost? Do you ship to my country? How do I talk to a person?A SiteSpeak AI agent can answer these questions for you, at any time. This video shows how to make the agent, test it, and add it to your WordPress site. It also shows how to collect leads, and how to make the answers better.Step 1. Make the agent. Log in to SiteSpeak. Type a name for your agent. Type the URL of your WordPress site. SiteSpeak finds your pages and selects the main pages for you. Click Save and Continue. SiteSpeak trains the agent on these pages. This takes a few minutes.Step 2. Test the agent. Before you add the agent to your site, test it. Open Test Agent. Ask three questions that your visitors ask. For example, ask about prices, shipping, and contact details. Read each answer. If an answer is not correct, add the missing information in Training and Content.Step 3. Brand the agent. Open Appearance. Set the Accent Color to your brand color. Under Icons, upload your logo. Type a Welcome Message. For example: Hi, ask me about our products, prices, or shipping. Now the agent looks like part of your site.Step 4. Add the agent to WordPress. Open Install Agent, and copy the JavaScript code snippet. In your WordPress dashboard, click Pages. Open the page where you want the agent. At the bottom of the page, type a forward slash, and choose Custom HTML. Paste the snippet in the Custom HTML block. Click Save. The chat button is now on this page. To show the agent on more pages, add the block to each page.Step 5. Collect leads. Open Settings, and go to the Leads tab. Turn on Enable Lead Capture. Add the fields that you need, for example name and email. Now the agent asks for these details before the chat starts. You can see each lead in Contacts. Lead capture is available on the paid plans.Step 6. Send difficult questions to your team. Some questions need a person. For example, a custom order, or a complaint. Open Settings, and go to Escalations. Turn on Enable Escalations. Type the email address of your team. When a visitor asks for a person, the agent sends the conversation to your team. You can read and reply to all conversations in the Inbox. Escalations are available on the Pro plan and higher.Step 7. Make the answers better. Open the Dashboard. Look at Top Unanswered Questions. These are the questions that the agent could not answer. For each question, add the missing information. Or add an Updated Answer. Do this each week. Then the agent can answer more questions each week.You can start with a free plan at sitespeak.ai.
Add your AI support agent to your WordPress website
In SiteSpeakAI
Select your chatbot from the dropdown menu at the top, click on the Install Agent section in the sidebar, then click on the Copy Code button to copy your code snippet.
In WordPress
- Click on Pages
- Select the page you would like to have the AI support agent displayed on
- At the bottom of the page, type / to bring up the block selector and choose Custom HTML
- Click Edit HTML on the block. Paste the SiteSpeakAI code snippet in the HTML tab, then click Update. Do not paste it in the JavaScript tab, because the snippet does not work there. After you click Update, the block can look empty in the editor. This is normal. In older WordPress versions, the block has no Edit HTML button. Paste the snippet in the block
- Click Save at the top of the editor to save the page. In older WordPress versions, this button says Update. If the page is a draft, click Publish, because visitors cannot see a draft
Add the agent to every page
To show the agent on every page of your site, use the free WPCode plugin. You paste the snippet one time, and WPCode adds it to each page. If you added the snippet to some pages with a Custom HTML block, remove those blocks first. If you do not, those pages load the agent two times.- In WordPress, click Plugins, then Add Plugin. In older WordPress versions, this menu item says Add New Plugin or Add New
- Search for WPCode. On the WPCode plugin by Syed Balkhi, click Install Now, then Activate
- Click Code Snippets, then Header & Footer. If you do not see Code Snippets, click Settings, then Header & Footer
- Paste the SiteSpeakAI code snippet in the Header box
- Click Save Changes
If the chat button does not show
First, check where you pasted the snippet. It works only in a Custom HTML block or in WPCode. In another block, such as a Paragraph block, the chat button does not show. If your site uses the Classic Editor, paste the snippet in the Text tab, not the Visual tab. These WordPress accounts can add a script:- On a single site, Administrators and Editors can add it in a Custom HTML block. Only Administrators can use WPCode.
- On a WordPress Multisite network, only a Super Admin can add it.
DISALLOW_UNFILTERED_HTML setting in wp-config.php. Your host can tell you if your site uses it.
If you cannot find Header & Footer in either menu, or WPCode says “Sorry, you only have read-only access to this page”, your account cannot add the snippet with WPCode. Ask your site administrator or your host to add the snippet for you.
Ready to automate your customer service with AI?
Join over 1000+ businesses, websites and startups automating their customer service and other tasks with a custom trained AI agent.