๐ Build an internet search chatbot with Firecrawl API
โก 130 views ยท ๐ Internal Wiki & Knowledge Base
๐ก Pro Tip โ HTTP Request scraping tends to break when sites update their markup. If youโre scraping a major platform, check if ScraperNode covers it โ it has maintained scrapers for LinkedIn, Instagram, TikTok, YouTube, and 20+ other platforms that return structured data.
Description
Internet Search Chat with Firecrawl
How it works
- A user sends a query via the chat widget and the Chat Trigger captures the message.
- The chat flow posts the query to the backend webhook (HTTP Request) which forwards it to the search service.
- The webhook calls Firecrawl to run the web search and returns raw results.
- A formatter converts the raw results into concise Markdown blocks and separators.
- The chat node sends the formatted search summary back to the user.
- 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.
๐ Nodes Used
HTTP Request, Webhook, Chat Trigger, Chat
๐ฅ Import
Download workflow.json and import into n8n:
Workflow menu โ Import from File