Skip to content

Setup for Botwiz


To make submissions available on your Discord bot using BotGhost, follow these steps to set up the endpoint:

  1. Select your Tally Form

    Go to tally.so and select thee Form that you want to receive the submissions of.

    Workspace

  2. Connect your Tally Form with the Webhooks Integration

    Head over to the Integrations Tab and search for the ‘Webhooks’ Integration.

    Intergrations

  3. Setting up the Webhook

    Now in the Webhooks Tab you will find the Endpoint URL Field. There you have to enter: https://api.cookie-api.com/api/botwiz/tally-submissions

    Next click on ‘Add HTTP headers’ and then add 2 more HTTP headers by clicking ‘Add headers’ 2 times. Enter the following HTTP headers:

    NameValue
    AuthorizationYour API Key
    BotwizUrlYour BotWiz Webhook URL
    BotwizKeyYour BotWiz Webhook API Key

    Once you have done that, click on ‘Connect’

    Webhook

Variables

Standard Variables

These Variables are available in every Submission:

NameVariableDescription
Event ID{interaction\[eventId]}ID of the Webhook Event
Event Type{interaction\[eventType]}Type of the Event
Created At{interaction\[createdAt]}ISO Timestamp of the submission
Response ID{interaction\[responseId]}Response ID
Submission ID{interaction\[submissionId]}Submission ID
Respondent ID{interaction\[respondentId]}Respondent ID
Form ID{interaction\[formId]}ID of the Form
Form Name{interaction\[formName]}Name of the Form

Standard Input Types

The following variables are applicable only to these element types:

  • HIDDEN_FIELDS
  • CALCULATED_FIELDS
  • INPUT_TEXT
  • INPUT_NUMBER
  • INPUT_EMAIL
  • INPUT_PHONE_NUMBER
  • INPUT_LINK
  • INPUT_DATE
  • INPUT_TIME
  • TEXTAREA
  • RATING
  • LINEAR_SCALE
NameVariableDescription
Element Type{interaction\[question1.type]}Type of the Element
Element Label{question1.label]}Label (Name) of the Element
Element Value{question1.value]}Value of the Element
Element Key{question1.key]}Key of the Element

Selection-Based Input Types

The following variables are applicable only to these element types:

  • MULTIPLE_CHOICE
  • CHECKBOXES
  • DROPDOWN
  • MULTI_SELECT
  • RANKING
NameVariableDescription
Element Type{question1.type}Type of the Element
Element Label{question1.label}Label (Name) of the Element
Element Key{question1.key}Key of the Element
Element Values (ID){question1.value.id}Value ID’s of the Element
Element Values (Text){question1.value.text}Values of the Element as Text
Element Options (ID){question1.options.id}Option ID’s of the Element
Element Options (Text){question1.options.text}Options of the Element as Text

Other Types

The following variables are applicable only to these element types:

  • FILE_UPLOAD
  • SIGNATURE
NameVariableDescription
Element Type{question1.type}Type of the Element
Element Label{question1.label}Label (Name) of the Element
Element Value{question1.value}Value of the Element
Element Key{question1.key}Key of the Element
File Name{question1.value.name}Name of the File
File URL{question1.value.url}URL of the File
File Size{question1.value.size}Size of the File
File Type{question1.value.mimeType}Type of the File

Unsupported Types

This Endpoint doesn’t support the following Element Types:

  • MATRIX
  • PAYMENT