How Intercom uses Apify to feed web data to its AI chatbot for customer support
Tags: ai, usecases
Published: 2023-11-09 10:10:50

---
title: How Intercom uses Apify to feed web data to its AI chatbot for customer support
published: true
date: 2023-08-14 22:00:00 UTC
tags: AI, usecases
canonical_url: https://blog.apify.com/intercom-customer-support-ai-chatbot-web-scraping/
---

Customer service and support is a major area where [generative AI](https://blog.apify.com/what-is-generative-ai/) and large language models (LLMs) in particular are starting to unlock huge amounts of customer value. Compared to previous generations of chatbots, LLM-powered chatbots provide far more accurate answers to an ever-wider range of customer queries.

Generative AI chatbots can operate around the clock, 365 days a year, in any language. That means less customer frustration, and customer support staff can spend their time on higher-value activities, such as writing help content or solving more complex customer issues.

Even Sam Altman, the CEO of OpenAI, the company behind ChatGPT, [has named](https://www.linkedin.com/posts/deon-nicholas_generativeai-ai-openai-activity-7052694499147333632-PpfJ) customer service as the first big category that he sees being massively impacted by generative AI.

>➡ **_Related:_** [**_What is retrieval-augmented generation, and why use it for chatbots?_**](https://blog.apify.com/what-is-retrieval-augmented-generation/)

## **Intercoms AI innovations in customer support**

[Intercom](https://www.intercom.com/), a market leader in customer service solutions, was one of the first major companies to recognize the importance of AI in automating customer support.

> **_With language, all you need to do is ask the right questions. Very shortly, and within the year (2023), we will see a lot of complex tooling that offer plain English UI (or any language) across not just written text, but also synthetic voice, real-time audio translation, and transcription._**

**-- Des Traynor, Chief Strategy Officer & Co-founder at Intercom**

Intercoms initial approach, back in mid-2022, was to extend the capabilities of their human support staff, but _ChatGPT, and text-DaVinci-003, completely blew us away in terms of quality, so we instantly started to focus on these models, rather than our internal models_, [said](https://www.bvp.com/atlas/how-intercom-navigated-the-ai-paradigm-shift) Fergal Reid, senior director of machine learning at Intercom.

In March 2023, only four months after the launch of ChatGPT, Intercom launched a private beta of their new AI customer service bot called [Fin](https://www.intercom.com/fin).
{% embed https://twitter.com/destraynor/status/1635705915595685902?ref\_src=twsrc%5Etfw%7Ctwcamp%5Etweetembed%7Ctwterm%5E1635705915595685902%7Ctwgr%5Ed0bdfbb3bd68415fc4365cd7f2e49ea8da720535%7Ctwcon%5Es1\_&ref\_url=https%3A%2F%2Fblog.apify.com%2Fintercom-customer-support-ai-chatbot-web-scraping%2F %}


Initially, Fin was limited to knowledge bases hosted by [Intercom Articles](https://www.intercom.com/articles). However, it was clear that to provide the most accurate AI-generated answers, it would be necessary to add external data sources, like a documentation website or a blog.

{% embed https://twitter.com/jancurn/status/1635738459720613907?ref\_src=twsrc%5Etfw%7Ctwcamp%5Etweetembed%7Ctwterm%5E1635755096062435328%7Ctwgr%5Ed0bdfbb3bd68415fc4365cd7f2e49ea8da720535%7Ctwcon%5Es2\_&ref\_url=https%3A%2F%2Fblog.apify.com%2Fintercom-customer-support-ai-chatbot-web-scraping%2F %}

## **Crawling web content to power Fin**

The World Wide Web is a vast, unstructured, and constantly evolving ecosystem, and thus building stable and scalable scrapers requires expertise and continuous effort. Web scrapers need to deal with dynamic websites, infinite scrolling, [blocking and proxies](https://blog.apify.com/crawl-without-getting-blocked/), performance, and efficient processing of [vast amounts of data](https://blog.apify.com/what-is-large-scale-scraping-and-how-does-it-work/), all while respecting ground rules such as not overloading websites.

Intercom considered building a web crawler in-house but understood that developing such a system would be a defocus from working on their core products and mission. After evaluating a number of vendors, they selected Apify for a pilot integration.

> **_To avoid reinventing the wheel, we looked for an external service to provide us with the web crawling capability. We looked at several providers both open source and paid solutions, and Apify was the most complete, reliant solution we found. It was miles ahead of everything else we reviewed._**

**-- Pranav Singh, Engineering Manager at Intercom**

Within just a month, the Apify team provided Intercom with a production-ready cloud-based web crawler accessible via API and thus helped expand Fins knowledge of external web content. Intercom launched Fin to the public in May 2023.

{% embed https://twitter.com/intercom/status/1655966026595459072?ref\_src=twsrc%5Etfw%7Ctwcamp%5Etweetembed%7Ctwterm%5E1655966026595459072%7Ctwgr%5Ed0bdfbb3bd68415fc4365cd7f2e49ea8da720535%7Ctwcon%5Es1\_&ref\_url=https%3A%2F%2Fblog.apify.com%2Fintercom-customer-support-ai-chatbot-web-scraping%2F %}


> **_Apify has been an awesome launch partner. Their technology and team helped us extend Fin with external knowledge from customers websites, and ultimately bring our new AI-powered chatbot to the market faster._**

**-- Brian McDonnell, Director of Engineering at Intercom**

## **Big wins for companies from AI-powered customer support**

Not so coincidentally, Apify is already using Intercom with Fin. Setting up Fin is just a case of entering the URL of your knowledge base or documentation:

![Screenshot showing how AI chatbot Fin is easy to set up for any website](https://lh3.googleusercontent.com/YyLdHNMbbQ5uFFbzgTJxRBSCm0elfdlDocNhmLWNnlGzfEtfpj5hmLGHhWb-PXS3ZpLM8oXMk5IFuJQdDa2HR2gyGUWp_C6U2EW8O5a_iLy_dSH68OH8B5_HQnOPvM286NN06YpmgZmgGHE-WCrA4Js)

_AI chatbot Fin is easy to set up for any website_

And just like that, Fin starts answering user questions:

![Screenshot of AI chatbot Fin answering a question about Apify Actors](https://lh3.googleusercontent.com/qD599HWbNrfzSOudTRwksTHZtBHB7fyMywU792_lU3-TLpUSAUOW3qF5uTALe1CByO2oxI_JaCDgFxQi_aR8nkMnIMRGMH_wQRqzGu1yo5vtexztsqg-Dw-Yc4c-ehArAHivWcQdAJU67SbZK604ASQ)

_AI chatbot Fin can start answering user questions immediately after you turn it on_

Fin has successfully resolved 18% of all support queries since Apify turned it on, which translates into significant time savings for the support team. As the documentation improves and the LLMs get more accurate over time, the fraction of automatically solved customer inquiries will grow too.

> **_For a very long time, we were waiting for an AI-powered chat experience to provide our customers with instant and accurate answers, and were glad our own technology helped Intercom make this possible._**

**-- Jan Curn, Apify co-founder and CEO**

AI and data from web scraping will radically transform the future of customer service. Companies will be better able to understand customer behavior, tailor responses, and provide truly personalized service at scale.

While generative AI automates the work of people, it doesnt mean that it will replace them. For example, [IKEA is using AI to transform 8,500 call center employees](https://www.pymnts.com/news/retail/2023/ikea-uses-artificial-intelligence-transform-call-center-employees-into-interior-design-advisors/) into interior design advisers, bringing more value to customers and retaining valuable staff. Routine customer inquiries get delegated to the AI, while the human touch is reserved for higher-value interactions.

>➡**_Related:_** [**_How to create a custom AI chatbot with Python_**](https://blog.apify.com/how-to-ai-chatbot-python/)

## **Web data is the fuel of AI**

The generative AI revolution wouldnt be possible without data extracted from the web. The more high-quality data you can feed an AI or LLM system, the better it gets. ChatGPT and all other successful LLMs were trained on enormous quantities of text content and images that were scraped from the web. LLMs learn to recognize patterns and logic in text, and then generate human-like text responses to prompts. Getting accurate data is key to providing an accurate AI and LLM system, to avoid the problem known as [garbage in, garbage out](https://en.wikipedia.org/wiki/Garbage_in,_garbage_out).

Since 2015, Apify has been building a state-of-the-art platform for collecting data from the web. The company is also behind the open-source library [Crawlee](https://crawlee.dev/), the most popular web crawling library for Node.js, with almost 9,000 stars on GitHub, which powers many of its solutions.

The AI revolution of 2023 only accelerated the need for companies to extract data from the web, which in turn has grown demand for web scraping technology, and prompted Apify to introduce integrations to popular LLM toolkits such as [LangChain](https://python.langchain.com/docs/ecosystem/integrations/apify) or [LlamaIndex](https://llama-hub-ui.vercel.app/l/apify-actor) and build many [specialized Actors](https://apify.com/store/categories/ai) for AI-related use cases.

{% embed https://twitter.com/hwchase17/status/1641869485857710080?ref\_src=twsrc%5Etfw%7Ctwcamp%5Etweetembed%7Ctwterm%5E1641869485857710080%7Ctwgr%5Ed0bdfbb3bd68415fc4365cd7f2e49ea8da720535%7Ctwcon%5Es1\_&ref\_url=https%3A%2F%2Fblog.apify.com%2Fintercom-customer-support-ai-chatbot-web-scraping%2F %}


For Apify, the growing demand for [web data to feed AI models](https://apify.com/data-for-generative-ai) is very exciting, and were happy we can help innovative companies bring their AI-based products faster to the market. Time is of the essence in the quickly evolving space, added Jan Curn.

Learn [more about Apify](https://apify.com/) or email us at [hello@apify.com](mailto:hello@apify.com) 😊