Example Integrations

Send Formfex notifications to Slack or Microsoft Teams channels


Overview

Formfex integrates with Slack (via OAuth) and Microsoft Teams (via incoming webhooks) to send real-time notifications about form responses, published forms, and analytics reports directly to your team channels.

Plan Requirement

Slack and Teams integrations require a Pro plan or higher.

Setup Guide

1

Go to Integrations

Navigate to Account > Integrations in the Formfex dashboard.

2

Connect Slack

Click Connect Slack. You'll be redirected to Slack's OAuth authorization page.

3

Authorize Formfex

Choose the Slack workspace and channel where you want to receive notifications. Click Allow to grant Formfex the incoming-webhook permission.

4

Choose events

After connecting, select which events should trigger Slack notifications. By default, FORM_RESPONSE_CREATED is enabled.

Available Events

EventSlack Message
FORM_CREATEDForm title with "View Form" button
FORM_PUBLISHEDForm title with "Open Form" and "View Dashboard" buttons
FORM_UNPUBLISHEDForm title notification
FORM_DELETEDForm title notification
FORM_EXPIREDForm title with "View Analytics" button
FORM_RESPONSE_CREATEDResponse summary with first 3 answers and "View Responses" button
FORM_RESPONSES_LIMIT_REACHEDWarning with "View Analytics" button
ANALYTICS_REPORT_COMPLETEDReport title with "View Report" button

Message Examples

New Response

Slack shows a rich Block Kit message with the first 3 answers:

+--------------------------------------------------+
|  New response to Customer Feedback Survey         |
|                                                    |
|  How satisfied are you?    Any comments?           |
|  Very satisfied            Great product!          |
|                                                    |
|  Submitted just now - Response ID: cm9z8y7x       |
|                                                    |
|  [View Responses]                                  |
+--------------------------------------------------+

Form Published

+--------------------------------------------------+
|  Customer Feedback Survey is now live              |
|                                                    |
|  [Open Form]  [View Dashboard]                     |
+--------------------------------------------------+

Analytics Report Completed

+--------------------------------------------------+
|  Customer Feedback Analysis ready                  |
|                                                    |
|  [View Report]                                     |
+--------------------------------------------------+

Managing the Connection

Update Events

Change which events trigger Slack notifications:

bash
curl -X PATCH "https://api.formfex.com/api/v1/integrations/{connectionId}/events" \
  -H "Authorization: Bearer <your-jwt>" \
  -H "Content-Type: application/json" \
  -d '{
    "events": [
      "FORM_RESPONSE_CREATED",
      "FORM_PUBLISHED",
      "ANALYTICS_REPORT_COMPLETED"
    ]
  }'

Disconnect

Remove the Slack connection:

bash
curl -X DELETE "https://api.formfex.com/api/v1/integrations/{connectionId}" \
  -H "Authorization: Bearer <your-jwt>"

Failure Handling

  • If the target platform returns an error, Formfex increments a failure counter
  • After 5 consecutive failures, the connection status changes to ERROR
  • Fix the issue on the platform side and reconnect from the Formfex dashboard

Common Slack failure causes:

  • The bot was removed from the channel
  • The channel was archived or deleted
  • Slack workspace permissions changed

Notes

Best practices

  • Create a dedicated notification channel (e.g. #formfex-notifications) to keep notifications organized
  • Subscribe only to the events you need to reduce noise
  • Monitor the connection status in the Integrations page — reconnect if it shows an error
  • If using multiple forms, consider separate channels for different form categories