Skip to main content

Build an internet search chatbot with Firecrawl API

Workflow preview

Workflow preview
100%
Build an internet search chatbot with Firecrawl API preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Internet Search Chat with Firecrawl How it works 1. A user sends a query via the chat widget and the Chat Trigger captures the message. 2. The chat flow posts the query to the backend webhook (HTTP...

Best for

  • Internal Wiki automation workflows
  • AI Chatbot automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.webhook, @mendable/n8n-nodes-firecrawl.firecrawl, n8n-nodes-base.respondtowebhook, n8n-nodes-base.noop, @n8n/n8n-nodes-langchain.chattrigger, n8n-nodes-base.httprequest, @n8n/n8n-nodes-langchain.chat

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Alysson Neves.

Original n8n.io source

1.1 Workflow description

Title
Build an internet search chatbot with Firecrawl API
Workflow name
Build an internet search chatbot with Firecrawl API

Internet Search Chat with Firecrawl

How it works

  1. A user sends a query via the chat widget and the Chat Trigger captures the message.
  2. The chat flow posts the query to the backend webhook (HTTP Request) which forwards it to the search service.
  3. The webhook calls Firecrawl to run the web search and returns raw results.
  4. A formatter converts the raw results into concise Markdown blocks and separators.
  5. The chat node sends the formatted search summary back to the user.
  6. Optional: an admin can manually trigger a credits check to review Firecrawl usage.

Setup

  • Add Firecrawl API credentials in n8n.
  • Update the webhook URL in the "Define constants" node to your n8n instance URL.
  • Configure and enable the Chat Trigger (make it public and set initial messages).
  • Ensure the webhook node path matches the constant and is reachable from the chat node.
  • Test the chat by sending a sample query and verify the formatted search results.
  • (Optional) Run the manual "Check credits" trigger to monitor Firecrawl account usage.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - Sticky Note6

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 3 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 4 - Receive search query

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 2.1

Block 5 - Search the web (Firecrawl)

Type / Role
@mendable/n8n-nodes-firecrawl.firecrawl - firecrawl
Config choices
Version 1

Block 6 - Answer search query

Type / Role
n8n-nodes-base.respondToWebhook - respondToWebhook
Config choices
Version 1.4

Block 7 - Terminate service flow

Type / Role
n8n-nodes-base.noOp - noOp
Config choices
Version 1

Block 8 - Receive chat message

Type / Role
@n8n/n8n-nodes-langchain.chatTrigger - chatTrigger
Config choices
Version 1.4

Block 9 - Query search server (HTTP)

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 10 - Reply to the user in the chat

Type / Role
@n8n/n8n-nodes-langchain.chat - chat
Config choices
Version 1

Block 11 - Terminate interface flow

Type / Role
n8n-nodes-base.noOp - noOp
Config choices
Version 1

Block 12 - Format search response (Python)

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 13 - Define constants

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 14 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 15 - Manual Trigger

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 16 - Verify Firecrawl Account Credit Balance

Type / Role
@mendable/n8n-nodes-firecrawl.firecrawl - firecrawl
Config choices
Version 1

Block 17 - Terminate Monitor Flow

Type / Role
n8n-nodes-base.noOp - noOp
Config choices
Version 1

3. Summary Table

Workflow Build an internet search chatbot with Firecrawl API
Complexity advanced
Nodes 17
Categories Internal Wiki, AI Chatbot
Author Alysson Neves
Published 22 Nov 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/11134/11134.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Build an internet search chatbot with Firecrawl API do?

Internet Search Chat with Firecrawl How it works 1. A user sends a query via the chat widget and the Chat Trigger captures the message. 2. The chat flow posts the query to the backend webhook (HTTP...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Internal Wiki, AI Chatbot use case.