Skip to content

Developers · Integrations

Slack via API Call Notifications

Last updated 11 November 2026

This guide demonstrates creating a Slack integration for Insites using API call notifications.

Prerequisites

To understand this tutorial, you must be familiar with creating API call notifications. You must also have access to a Slack workspace, enabled webhooks, and create an incoming webhook. In addition, you will need the webhook URL for creating the API call notification.

Steps

Integrating Slack using API Call Notifications is a two-step process:

  • Step 1: Create an API call notification
  • Step 2: Add the API call notification to a form

Step 1: Create an API call notification

Your webhook URL looks similar to this: .
Anyone with this URL can post to your channel, so never put it in the file. Store it as a constant, for example . You can set it with .

Then create the API call notification. Save it as . Its name must match the name you list under in step 2:

---
name: slack_sales_request
format: http
request_headers: '{ "Content-Type": "application/json" }'
request_type: POST
to: '{{ context.constants.SLACK_WEBHOOK_URL }}'
---
{
	"text": "New Contact on growthgardens.com!"
}

Note

You can customize your message in Slack. Learn more on the page that provided you with your webhook URL or on api.slack.com/incoming-webhooks

Step 2: Add the API call notification to a form

Add the following to the front matter on your form:

api_call_notifications:
- slack_sales_request

The front matter of the form we used in this example:

---
name: enquirer_signup
resource: User
fields:
  email:
  password:
api_call_notifications:
  - slack_sales_request
---