Apify Integration
Turn any website into an AI chatbot, right from Apify
Overview
Apify is a platform for web scraping and automation. The Asyntai Actor on Apify gives any website an AI chatbot that answers visitors day and night, from the website's own content.
Create a chatbot from a URL, feed it the data you already collect on Apify, and ask it questions, all from one Actor. Every run returns the widget code, ready to paste into the website.
What You Can Do
- Create a chatbot from a website. Give the Actor a URL. Asyntai reads the website, writes the chatbot's instructions, and the run returns the widget code.
- Add web pages. Give a list of page URLs. Each page goes into the chatbot's knowledge base.
- Import an Apify dataset. Give the ID of any Apify dataset, for example the result of a crawler run. Each item with text becomes a knowledge base entry, so the chatbot answers from it at once.
- Ask the chatbot. Send a question and get the chatbot's answer in the dataset. Send the same conversation ID again to continue the conversation.
Requirements
- An Apify account
- An Asyntai account on the Starter plan or higher, because the Actor uses the Asyntai API
Getting Started
Get Your API Key
Sign in to Asyntai, open Settings, then API, and copy your API key.
Open the Actor
In Apify Store, search for Asyntai and open Website to AI Chatbot (Asyntai).
Choose What to Do
Paste your API key, pick an action in What to do, and fill the matching section. To create a chatbot, enter your website URL.
Start the Run
Press Start. When the run finishes, open the Output tab. A new chatbot shows its Chatbot ID, its widget ID and the widget code for your website.
Feeding a Dataset Automatically
Keep the chatbot current with every crawl. Open the Actor or task that collects your data, go to Integrations, and connect it to the Asyntai Actor. Set What to do to Import an Apify dataset, enter your Chatbot ID, and set Dataset ID to {{resource.defaultDatasetId}}.
After each run, the new items go straight into the chatbot's knowledge base.
Tip: The Actor reads the text from the fields text, markdown, content, body or description, and the title from metadata.title, title or name. For other datasets, name the fields in Text field and Title field. Dotted paths such as faq.answer work too.
Output
Each run writes one row per result to its dataset:
- Create a chatbot: the chatbot ID, website, widget ID, the status of the website reading, and the widget code.
- Add web pages and Import a dataset: one row per page or item, with its title and status.
- Ask: the question, the answer and the conversation ID.
You manage every chatbot in the Asyntai dashboard: its look, its instructions, and all chats with your visitors.
Plans & Pricing
The Actor is free on Apify. It uses the Asyntai API, which needs the Starter plan or higher. View pricing.
Need Help?
If you have any questions or run into issues, contact us at [email protected].