Blog & Email Campaigns with SEO Monitoring and Multi Platform Distribution

This workflow automates multi-platform content publishing to Medium, Dev. to, and email campaigns, with SEO monitoring and engagement tracking. Key nodes include Webhook for API triggers, Schedule Trigger for timed publishing, Condition for security and input validation, Set for data sanitization, Switch for platform routing, HTTP Request for Medium and Dev. to APIs, Email Send for campaigns, and Webhook Response for output. It ensures compliant, optimized content distribution. To set up, download n8n from n8n.io for self-hosting or sign up at cloud.n8n.io. Obtain a Medium API token from medium.com/me/settings/security under Integration Tokens. Get a Dev.to API key from dev.to/settings/extensions under API Keys. Configure SMTP credentials for email (e.g., Gmail SMTP: smtp.gmail.com, port 587) via your email provider’s settings. In n8n, add these under Credentials > Add Credential > HTTP Header Auth for Medium and Dev. to, and SMTP for email. Import the workflow JSON via Workflows > Import. Configure the Webhook node (path: /content-publishing-automation, method: POST) with CORS headers (Access-Control-Allow-Origin: *). Use ngrok for local webhook testing (e.g., ngrok http 5678). Set the Schedule Trigger to a cron expression (e.g., 0 9 * * * for 9 AM UTC). Ensure HTTPS in the Condition node for secure transmission. Test by sending a POST request to the webhook with JSON (e.g., {content: {title: 'Test Article', body: 'Sample content...', tags: ['tech'], canonicalUrl: ''}, publishingChannels: 'medium,devto, email'}). Include headers (x-api-key, x-content-authorization). Validate output in the Set node for devHubConnectContentResponse (e.g., success: true, contentInformation.title = 'Test Article'). Handle errors like invalid API keys (401 response with 'CONTENT_SECURITY_VALIDATION_FAILED') or missing title/body (400 response with 'INVALID_CONTENT_INPUT'). For issues, verify HTTPS, credential accuracy, and API URLs. Deploy by saving and enabling the workflow. Test with a sample post to confirm Medium/Dev.to publishing and email delivery. Check Webhook Response for contentPublishingResults (e.g., medium: 'published'). If integrations fail, verify node connections and credentials in n8n’s editor.

$6.99

Workflow steps: 16

Integrated apps: webhook, manualTrigger, scheduleTrigger

Blog & Email Campaigns with SEO Monitoring and Multi Platform Distribution preview