Last update
Last update 3 months ago
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.