Generate fun fact HTML pages from a webhook with Mistral Cloud
Ready for 3.0What this workflow does
This AI workflow has 6 nodes and runs when an HTTP GET request hits its webhook URL. Along the way it connects Mistral Cloud Chat Model. It also calls uselessfacts.jsph.pl over HTTP.
How it runs
Trigger: When an HTTP GET request hits its webhook URL.
- Fetch Fun Fact (HTTP Request): calls uselessfacts.jsph.pl
- Build Fun Fact Page (AI Agent): runs an AI agent, with model: Mistral Cloud Chat Model
- Respond With Error (Respond to Webhook): sends the response back to the webhook caller
- Respond With Page (Respond to Webhook): sends the response back to the webhook caller
Services it uses
HTTP calls to: uselessfacts.jsph.pl
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (5)
- Webhook
n8n-nodes-base.webhook - HTTP Request
n8n-nodes-base.httpRequest - AI Agent
@n8n/n8n-nodes-langchain.agent - Mistral Cloud Chat Model
@n8n/n8n-nodes-langchain.lmChatMistralCloud - Respond to Webhook
n8n-nodes-base.respondToWebhook
From the author
Quick Overview This workflow exposes a webhook that fetches a random fun fact from uselessfacts.jsph.pl, uses Mistral Cloud to generate a self-contained HTML webpage themed around the fact, and returns the page directly as the webhook response, or a JSON…