← Back to Docs

Creating Webhooks for Discord & Slack

To send posts from Ozigi to Discord or Slack, you need a webhook URL. Follow these steps to generate one.

Discord Webhooks

Discord webhooks are the easiest way to send automated messages to a text channel. Here’s how to create one:

  1. Open your Discord server – click on the server name at the top left and select Server Settings.
  2. In the left menu, click IntegrationsWebhooks.
  3. Click New Webhook. Give it a name (e.g., “Ozigi Bot”) and choose the channel where you want the posts to appear.
  4. Click Copy Webhook URL. The URL looks like:
    https://discord.com/api/webhooks/1234567890/abcdefghijklmnop
  5. Paste this URL into the Discord Webhook URL field in your Ozigi Settings.

💡 Tip

You can create multiple webhooks for different channels, but Ozigi only uses one at a time. Choose the channel you want to be your primary destination.

Slack Webhooks

Slack uses incoming webhooks to post messages from external apps. You need to create a Slack app first.

  1. Go to api.slack.com/apps and click Create New App.
  2. Choose From scratch, give your app a name (e.g., “Ozigi”), and select your workspace.
  3. In the left sidebar, click Incoming Webhooks and toggle the switch to Activate Incoming Webhooks.
  4. Scroll down and click Add New Webhook to Workspace. Select the channel where you want messages to appear and click Allow.
  5. Copy the generated webhook URL – it will look like:
    https://hooks.slack.com/services/...
  6. Paste this URL into the Slack Webhook URL field in your Ozigi Settings.

📌 Important

You need permission to install apps in your workspace. If you’re not an admin, ask your workspace admin to create the app and give you the webhook URL.

Testing Your Webhook

After saving the URL in Ozigi, generate a campaign and click the Post to Discord or Send to Slack button. You should see the message appear in the channel you selected.

If it doesn’t work, double‑check the URL (it should start with https://discord.com/api/webhooks/ or https://hooks.slack.com/services/) and ensure the app is still active.