Research & Communication via WhatsApp, Telegram, SMS, and Email

This workflow automates research and email tasks across multiple platforms (WhatsApp, Telegram, SMS, Email), replacing manual research or email drafting. It processes user requests via a secure webhook, uses OpenAI GPT-4o-mini to classify intents (email, research, help), routes tasks with a switch node, sends emails via Gmail, and conducts research using Perplexity AI’s sonar-reasoning model. Key nodes include Webhook for multi-platform input, IF for validation, Langchain Agent for intent analysis, Gmail for email sending, and Perplexity for research with citation extraction. Ideal for research teams or professionals (1-100 users) handling 50+ daily queries, such as academics or consultants, reducing research and email time from 10-20 minutes to seconds per task.\n\nROI saves 8-12 hours weekly for teams processing 200+ queries, streamlining research and communication. Use cases include academic research, business intelligence, or customer query resolution. Requirements: OpenAI API key (~$0.01/1K tokens), Perplexity AI API key (~$0.05/query), Gmail OAuth2 (Workspace, $6/user/month), n8n instance (free or cloud.n8n.io, ~$20/month), PERPLEXITY_API_KEY env var, optional WhatsApp/Telegram/Twilio for multi-platform. Scalability supports thousands of daily requests; limited by Perplexity rate limits (~500 queries/day), Gmail API (~1,000 emails/day), and OpenAI limits (~1,000 requests/minute).\n\nInstall n8n from n8n.io or cloud.n8n.io. Obtain OpenAI key from platform.openai.com, Perplexity key from api.perplexity.ai, and Gmail OAuth2 via Google Cloud Console (enable Gmail API). Set PERPLEXITY_API_KEY env var. Configure n8n credentials: HTTP Header Auth, OpenAI, Gmail OAuth2. Node setup: Webhook (POST, path: 'ai-research-webhook'), GPT-4o-mini (temperature 0.3), Perplexity (sonar-reasoning, max_tokens 800), Gmail (dynamic to/subject/body). Expose webhook via ngrok. Optionally, integrate WhatsApp/Telegram/Twilio for multi-platform support.\n\nTest with POST requests (e.g., {body: {message: 'Research AI trends'}} or {body: {message: 'Send email to john@example.com subject: Meeting'}}) using Postman; verify email delivery or research responses with citations. Common errors: Invalid API keys (401—check credentials), missing message body (400—validate request), rate limits (429—add retry logic). Deploy by activating workflow, sharing webhook URL. Maintenance: Monitor API quotas, rotate keys quarterly, validate email formats. Optimize: Tune Perplexity max_tokens (600-1000), refine intent classification prompts, cache frequent research topics.", "businessValue": "Saves 8-12 hours/week automating 200+ research and email tasks for professionals", "setupTime": "30-45 minutes", "difficulty": "Intermediate", "requirements": ["OpenAI API key", "Perplexity AI API key", "Gmail OAuth2", "PERPLEXITY_API_KEY env var", "n8n installation, API integration knowledge", "Optional: WhatsApp/Telegram/Twilio APIs"], "useCase": "Automating research and email tasks across multiple platforms for research or business teams"

$6.99

Workflow steps: 21

Integrated apps: stickyNote, webhook, if

Research & Communication via WhatsApp, Telegram, SMS, and Email preview