Skip to main content

Automation Tools

Extend Iverton AI's capabilities with powerful automation tools. Integrate with n8n for complex workflows, Slack for team notifications, and webhooks to connect with any external service.

Overview

Iverton AI's automation layer consists of:

ToolPurposeUse Case
n8nWorkflow automationComplex multi-step processes, AI workflows, data transformations
SlackTeam notificationsAlerts, daily summaries, campaign updates
WebhooksExternal integrationsSend data to any HTTP endpoint

n8n Integration

n8n is a powerful workflow automation platform that powers many of Iverton AI's advanced features. Over 60 automated workflows handle everything from AI content generation to SEO analysis.

How n8n Works with Iverton AI

┌─────────────┐     ┌─────────────┐     ┌─────────────┐
│ Iverton AI │────▶│ n8n │────▶│ External │
│ Backend │◀────│ Workflows │◀────│ Services │
└─────────────┘ └─────────────┘ └─────────────┘


┌─────────────┐
│ AI Models │
│ (OpenAI, │
│ Claude) │
└─────────────┘

Iverton AI sends requests to n8n webhooks, n8n processes them (often with AI assistance), and returns results.

Pre-Built Workflows

Iverton AI includes these automated workflows:

Analytics & Insights

WorkflowWhat It Does
AI Business RecommendationsAnalyzes data and suggests actions
Competitor Tech Stack DetectionIdentifies competitors' technology
Competitor MonitoringTracks competitor activities
Market Trend AnalysisIdentifies industry trends
Performance AnalyticsAggregates and analyzes metrics

Content Generation

WorkflowWhat It Does
Ad Copy GeneratorCreates ad variations from briefs
AI Script GeneratorWrites video/audio scripts
Blog Post GeneratorCreates long-form content
Content RepurposerTransforms content across formats
Landing Page Copy GeneratorWrites conversion-focused copy

SEO

WorkflowWhat It Does
Keyword ResearchDiscovers keyword opportunities
SERP Ranking CheckMonitors search positions
Backlink AnalysisAnalyzes link profiles
Content Gap AnalysisFinds missing content opportunities
SEO AuditComprehensive site analysis
Meta Tag GeneratorCreates optimized meta descriptions
Content OptimizerImproves existing content for SEO

Social Media

WorkflowWhat It Does
Hashtag AnalysisResearches effective hashtags
Social Post SchedulingManages content calendar
Social AlertsMonitors mentions and engagement
Lead CaptureProcesses social leads
Metrics SyncAggregates social analytics

Email Marketing

WorkflowWhat It Does
A/B Test Variant GeneratorCreates email variations
Email Campaign AnalysisAnalyzes performance
Email Marketing AutomationTriggers sequences

Using Workflows

Workflows are triggered automatically based on actions in Iverton AI:

  1. Content Generation: Click "Generate with AI" → triggers content workflow
  2. SEO Analysis: Run an audit → triggers SEO workflows
  3. Analytics: View recommendations → triggers analysis workflow
  4. Social Media: Schedule post → triggers scheduling workflow

Workflow Configuration

For self-hosted deployments, configure the n8n connection:

  1. Deploy your n8n instance
  2. Import the Iverton AI workflow templates
  3. Configure environment variables:
# n8n Configuration
VITE_N8N_URL=https://your-n8n-instance.com
N8N_API_KEY=your-n8n-api-key
N8N_WEBHOOK_SECRET=your-webhook-secret
N8N_CALLBACK_SECRET=your-callback-secret

Creating Custom Workflows

You can create custom n8n workflows that integrate with Iverton AI:

  1. Create a webhook trigger node in n8n
  2. Process the incoming data
  3. Return results in the expected format
  4. Register the webhook URL in Iverton AI configuration

Example Webhook Response Format

{
"success": true,
"data": {
"result": "Your processed result",
"metadata": {}
}
}

Workflow Settings

SettingDefaultDescription
Timeout30 secondsMaximum wait time for workflow response
Retries3Number of retry attempts on failure
Retry delayExponentialBackoff between retries

Slack Integration

Connect Slack to receive notifications, alerts, and updates from Iverton AI directly in your team channels.

Prerequisites

  • Slack workspace admin access (for app installation)
  • Or: Incoming webhook URL (simpler setup)

Connection Method 1: Incoming Webhooks (Simple)

Best for basic notifications without interactive features.

Setup Steps

  1. Go to Slack API Apps
  2. Click Create New AppFrom scratch
  3. Name it (e.g., "Iverton AI") and select your workspace
  4. Go to Incoming Webhooks → Enable it
  5. Click Add New Webhook to Workspace
  6. Select the channel for notifications
  7. Copy the webhook URL

Connect to Iverton AI

  1. Go to IntegrationsSlack
  2. Select Webhook connection type
  3. Paste the webhook URL
  4. Click Test to send a test message
  5. Click Save

Connection Method 2: Slack App (Advanced)

Enables interactive features, multiple channels, and bot customization.

Setup Steps

  1. Go to Slack API Apps
  2. Click Create New AppFrom scratch
  3. Under OAuth & Permissions, add scopes:
    • chat:write (send messages)
    • channels:read (list channels)
    • incoming-webhook (webhooks)
  4. Install the app to your workspace
  5. Copy the Bot User OAuth Token

Connect to Iverton AI

  1. Go to IntegrationsSlack
  2. Select Slack App connection type
  3. Enter the Bot Token
  4. Select default channel
  5. Click Save

Notification Types

Configure which events trigger Slack notifications:

CategoryEvents
CampaignsCampaign launched, Campaign completed, Performance milestones
LeadsNew lead captured, Lead qualified, Deal closed
SocialHigh engagement post, Negative mention, Message received
SystemIntegration errors, Sync failures, Account warnings
ReportsScheduled report ready, Weekly summary

Channel Configuration

Route different notifications to different channels:

ChannelSuggested Use
#marketing-alertsCampaign performance, urgent issues
#sales-leadsNew leads, deal updates
#social-mentionsBrand mentions, engagement alerts
#iverton-systemTechnical notifications, errors

Configure in SettingsNotificationsSlack Channels.

Message Customization

Customize how notifications appear:

SettingOptions
Bot nameCustom name (default: "Iverton AI")
Bot iconCustom emoji or image URL
Message formatRich (with attachments) or Simple (text only)
Mention users@here, @channel, or specific users

Example Notifications

Campaign Launch

🚀 Campaign Launched
Campaign "Summer Sale" is now live
• Channels: Email, Facebook, Instagram
• Audience: 5,432 contacts
• Scheduled posts: 12

New Lead

👤 New Lead Captured
John Smith (john@example.com)
• Source: LinkedIn Ad
• Score: 85/100
• Company: Acme Corp
View in Iverton AI →

Troubleshooting Slack

Messages not arriving

  • Verify the webhook URL is correct
  • Check the bot has been added to the channel
  • Test with a simple message from integration settings

"channel_not_found" error

  • The bot needs to be invited to private channels
  • Type /invite @IvertonAI in the channel

Rate limits

  • Slack limits: 1 message per second per channel
  • If you hit limits, messages are queued

Webhooks

Send data from Iverton AI to any external HTTP endpoint when specific events occur.

Creating a Webhook

  1. Go to SettingsWebhooks
  2. Click Add Webhook
  3. Configure:
    • Name: Descriptive name
    • URL: Your endpoint URL
    • Events: Which events trigger the webhook
    • Headers: Custom headers (for authentication)
  4. Click Save

Webhook Events

EventTriggerPayload
contact.createdNew contact addedContact details
contact.updatedContact modifiedUpdated fields
deal.createdNew deal createdDeal details
deal.updatedDeal stage changedUpdated deal
deal.closedDeal won or lostFinal deal data
campaign.sentCampaign launchedCampaign details
campaign.completedCampaign endedPerformance summary
form.submittedForm submissionForm data
email.bouncedEmail bouncedBounce details
email.unsubscribedContact unsubscribedContact info

Webhook Payload Format

All webhooks send JSON payloads:

{
"event": "contact.created",
"timestamp": "2024-01-15T10:30:00Z",
"workspace_id": "ws_123",
"data": {
"id": "contact_456",
"email": "john@example.com",
"name": "John Smith",
"created_at": "2024-01-15T10:30:00Z"
}
}

Security

Signature Verification

All webhooks include a signature header for verification:

X-Iverton-Signature: sha256=abc123...

Verify the signature using HMAC-SHA256:

const crypto = require('crypto');

function verifySignature(payload, signature, secret) {
const expected = 'sha256=' +
crypto.createHmac('sha256', secret)
.update(JSON.stringify(payload))
.digest('hex');
return signature === expected;
}

Custom Headers

Add authentication headers to your webhook:

HeaderExample Use
AuthorizationBearer token for your API
X-API-KeyAPI key authentication
Custom headersAny additional headers your endpoint needs

Retry Policy

Failed webhooks are retried automatically:

AttemptDelay
1st retry1 minute
2nd retry5 minutes
3rd retry30 minutes
4th retry2 hours
5th retry24 hours

After 5 failed attempts, the webhook is marked as failed and you're notified.

Webhook Logs

View webhook delivery history:

  1. Go to SettingsWebhooks
  2. Click on a webhook
  3. View Delivery History

Each log entry shows:

  • Timestamp
  • Event type
  • Response status code
  • Response time
  • Payload (click to expand)

Testing Webhooks

  1. Go to SettingsWebhooks
  2. Click on your webhook
  3. Click Send Test
  4. Check your endpoint received the test payload

Use services like webhook.site for testing.

Common Integrations

Zapier

  • Create a Zap with "Webhooks by Zapier" trigger
  • Use "Catch Hook" and copy the URL
  • Add the URL to Iverton AI webhooks

Make (Integromat)

  • Create a scenario with "Webhooks" module
  • Use "Custom webhook" trigger
  • Add the URL to Iverton AI webhooks

Custom CRM

  • Create an endpoint in your CRM that accepts POST requests
  • Configure authentication headers
  • Map incoming data to your CRM fields

Disconnecting Automation Tools

Disconnecting Slack

  1. Go to IntegrationsSlack
  2. Click Disconnect
  3. Confirm the disconnection

To fully remove access:

  1. Go to your Slack workspace settings
  2. Navigate to AppsManage
  3. Find "Iverton AI" and click Remove

After disconnecting, notifications will no longer be sent to Slack channels.

Removing Webhooks

To delete a webhook:

  1. Go to SettingsWebhooks
  2. Find the webhook to remove
  3. Click the Delete button (trash icon)
  4. Confirm deletion
note

Deleting a webhook immediately stops data from being sent to that endpoint. Any pending webhook deliveries will be cancelled.

n8n Configuration

For self-hosted deployments, n8n is typically managed separately. To disable n8n workflows:

  1. Access your n8n instance
  2. Deactivate specific workflows
  3. Or remove the n8n URL from environment variables to disable all automation

Environment Variables

For self-hosted deployments:

# n8n Configuration
VITE_N8N_URL=https://your-n8n-instance.com
N8N_API_KEY=your-api-key
N8N_WEBHOOK_SECRET=your-webhook-secret
N8N_CALLBACK_SECRET=your-callback-secret

# Slack Configuration
SLACK_WEBHOOK_URL=https://hooks.slack.com/services/xxx
SLACK_BOT_TOKEN=xoxb-xxx (optional, for app integration)
SLACK_CHANNEL=#default-channel
SLACK_ALERTS_CHANNEL=#alerts
SLACK_SYSTEM_CHANNEL=#system

# Webhook Security
WEBHOOK_SECRET=your-signing-secret

API Endpoints Reference

# Slack
POST /api/integrations/slack/automation - Send Slack message

# Webhooks
GET /api/webhooks - List webhooks
POST /api/webhooks - Create webhook
PUT /api/webhooks/:id - Update webhook
DELETE /api/webhooks/:id - Delete webhook
POST /api/webhooks/:id/test - Test webhook

# Workflow Status
POST /api/workflow-status/trigger/:id - Trigger workflow manually
GET /api/workflow-status/execution/:id - Get execution status
GET /api/workflow-status/workflows - List all workflows

Continue to Settings Guide