DialogForm Help
  • Getting Started
  • Tutorial
  • Tutorial - Part 2
  • User Guide
    • Creating a flow
    • Duplicating a flow
    • Multiple choice prompts
    • "Multi-select" multiple choice prompts
    • Configuring how choices appear
    • Free-form/Subjective answer prompts
    • Image upload prompts
    • Basic branching and looping
    • Branching and looping with quick responses
    • Simple scoring
    • Advanced scoring
    • Scoring subjective answer prompts
    • How to write Markdown
    • How to add images to Markdown
    • How to add video to a prompt
    • Managing media with Cloudinary
    • Branding
    • Customizing pauses between prompts
    • Using DialogForm with Thinkific
    • Using DialogForm as an LTI tool
    • Using DialogForm with other LMSes
    • Adding a Webhook for notifications
Powered by GitBook
On this page
  • Available notifications
  • 1. Chat completed
  • 2. Chat deleted by admin
  • 3. Admin provides some feedback on a user response
  • Adding a Webhook

Was this helpful?

  1. User Guide

Adding a Webhook for notifications

Get notitifications of events happening in your DialogForm account.

This feature is still under construction

We are working on a set of API endpoints where you will be able to use the notification data sent to your webhook to retrieve complete details of the event that occurred. This will allow you to create your own automations on top of what DialogForm offers out of the box.

Available notifications

1. Chat completed

This notification is sent when a user completes a chat.

// The following JSON data is sent
// * `identifier` - The user identifier provided in the share link
// * `flowId` - Self explanatory
// * `score` - The user's score, if any
{
  "type": "completed",
  "data": {
    "flowId": number,
    "identifier": string,
    "score": number or null
  }
}

2. Chat deleted by admin

This notification is sent when a chat is deleted via the admin panel.

// The following JSON data is sent
// * `identifier` - The user identifier provided in the share link
// * `flowId` - Self explanatory
{
  "type": "deleted",
  "data": {
    "flowId": number,
    "identifier": string
  }
}

3. Admin provides some feedback on a user response

This notification is sent when feedback is provided on a user response in a chat history via the admin panel.

// The following JSON data is sent
// * `identifier` - The user identifier provided in the share link
// * `flowId` - Self explanatory
// * `promptName` - The particular prompt for which feedback was given
{
  "type": "feedbackUpdated",
  "data": {
    "flowId": number,
    "identifier": string,
    "promptName": string
  }
}

Adding a Webhook

  1. Select the 'Webhook' tab in the left panel

  2. Enter a URL (including the protocol) into the input field. DialogForm will send notifications by making HTTP POST requests to this URL.

PreviousUsing DialogForm with other LMSes

Last updated 2 years ago

Was this helpful?

On (on the home page), click on your account avatar on the top right, and navigate to 'Integrations' to open up the Integrations page

https://admin.dialogform.in