This workflow processes AI-generated sales call data, integrating insights into Notion databases. It handles recurring topics, marketing insights, and actionable insights using Execute Workflow Trigger, Code, Condition, Split Out, Wait, Merge, Slack, and Respond to Webhook nodes, leveraging the Notion API for data storage and Slack for alerts. To set up, install n8n from n8n.io for self-hosting or use cloud.n8n.io for a hosted solution. Create a Notion integration at notion.com (My Integrations), obtain an API token, and configure it in the Code nodes ('Notion Handler - Recurring', 'Notion Handler - Marketing', 'Notion Handler - Actionable'). Set up a Slack app at api.slack.com, get a Bot Token, and configure the Slack node ('Slack Alerter'). In the Set node ('Configuration Manager'), define Notion database IDs for recurring topics, marketing insights, and actionable insights using environment variables or hardcoded IDs. Ensure the Execute Workflow Trigger accepts JSON inputs with AIoutput (containing RecurringTopics, MarketingInsights, ActionableInsights arrays), metaData (title, started), and notionData (page ID). Set performanceConfig with rateLimitDelay (e.g., 3 seconds) and maxRetries (e.g., 3). Test by sending a JSON payload to the Execute Workflow Trigger (e.g., {AIoutput: {RecurringTopics: [{Topic: 'Pricing', Context: 'High demand'}], MarketingInsights: [{Summary: 'Brand focus', Tag: 'Strategy'}], ActionableInsights: [{Topic: 'Follow-up', Rationale: 'Urgent'}]}, metaData: {title: 'Test Call', started: '2025-08-03'}, notionData: [{id: 'test-page-id'}]}). Verify Notion database entries for each insight type and check the Slack notification for success_rate and totalItems. For errors like 'Input validation failed' (statusCode 400), ensure all required fields (AIoutput, metaData, notionData) are present. A missing Notion API token causes retry failures in Notion Handler nodes. Deploy by enabling the workflow for continuous processing. Monitor Slack for alerts on failedItems or executionTimeMs exceeding 30 seconds.
$6.99
Workflow steps: 23
Integrated apps: executeWorkflowTrigger, code, if