
End-to-end architecture combining IoT telemetry data with n8n workflow orchestration, Google Gemini AI analytics, and Telegram Bot API to deliver automated daily and real-time smart reports to customers.
const rawTelemetries = items[0].json.readings;
const prompt = `Analyze the last 24h IoT readings. Produce a concise, bulleted client report with consumption trends and anomaly flags.`;
return [{ json: { prompt } }];