GetFeedback

App · 6 actions

Read survey responses and email survey invites.

Actions

ActionWhat it does
Get responseGet one response to a survey with its answers.
Get surveyGet a survey with its questions and links.
List responsesList a survey's responses with their answers.
List surveysList your surveys, or the surveys shared with you.
Send survey inviteEmail a survey to one person.
Send survey invitesEmail a survey to a list of people.

Get response

Get one response to a survey with its answers.

Inputs

Surveysurvey_idnumberRequired
The survey.
Response IDresponse_idnumberRequired
The response's ID, from List responses or a trigger.

Outputs

dataobject
The response from GetFeedback.
Example output
{
  "data": {
    "response": {
      "answers": [
        {
          "choices": [
            {
              "id": 1,
              "is_other": true,
              "text": "example"
            }
          ],
          "comment": "example",
          "component_id": 1,
          "created_at": "example",
          "id": 1,
          "number": 1,
          "response_id": 1,
          "scale": 1,
          "text": "example",
          "type": "example",
          "updated_at": "example"
        }
      ],
      "browser": "example",
      "completed_at": "example",
      "created_at": "example",
      "id": 1,
      "limited": true,
      "merge_map": {},
      "platform": "example",
      "status": "example",
      "token": "example",
      "updated_at": "example"
    }
  }
}

Get survey

Get a survey with its questions and links.

Inputs

Surveysurvey_idnumberRequired
The survey.

Outputs

dataobject
The response from GetFeedback.
Example output
{
  "data": {
    "survey": {
      "campaigns": [
        {
          "ended_at": "example",
          "id": 1,
          "survey_id": 1,
          "token": "example",
          "type": "example"
        }
      ],
      "completed_responses_count": 1,
      "created_at": "example",
      "folder_id": 1,
      "id": 1,
      "language": "example",
      "last_published": "example",
      "locale": "example",
      "merge_keys": [
        "example"
      ],
      "name": "example",
      "notification_level": "example",
      "ordered_components": [
        {
          "description": "example",
          "embedded_answer_key": "example",
          "id": 1,
          "is_email_embeddable": true,
          "is_question": true,
          "required": true,
          "survey_id": 1,
          "title": "example",
          "type": "example"
        }
      ],
      "questions_count": 1,
      "share_token": "example",
      "started_responses_count": 1,
      "updated_at": "example",
      "user_id": 1
    }
  }
}

List responses

List a survey's responses with their answers.

Inputs

Surveysurvey_idnumberRequired
The survey.
Sincesincedate and time
Only responses from this time on, oldest first. Leave empty for the newest first.
Untiluntildate and time
Only responses up to this time. Works with Since.
Comparesince_fieldtext
Which date Since and Until compare. Completed lists completed responses only.One of: created_at (Started), updated_at (Last updated), completed_at (Completed). Default: created_at.
Statusstatustext
Only responses in this state. Leave empty for all.One of: started (Started, not finished), completed.
Page sizeper_pagenumber
Responses per page, up to 100.From 1 to 100. Default: 30.
Pagepagenumber
The page to read, starting at 1.At least 1. Default: 1.

Outputs

dataobject
The response from GetFeedback.
Example output
{
  "data": {
    "active_models": [
      {
        "answers": [
          {
            "choices": [
              {
                "id": 1,
                "is_other": true,
                "text": "example"
              }
            ],
            "comment": "example",
            "component_id": 1,
            "created_at": "example",
            "id": 1,
            "number": 1,
            "response_id": 1,
            "scale": 1,
            "text": "example",
            "type": "example",
            "updated_at": "example"
          }
        ],
        "browser": "example",
        "completed_at": "example",
        "created_at": "example",
        "id": 1,
        "limited": true,
        "merge_map": {},
        "platform": "example",
        "status": "example",
        "token": "example",
        "updated_at": "example"
      }
    ]
  }
}

List surveys

List your surveys, or the surveys shared with you.

Inputs

Showfiltertext
Which surveys to list.One of: active (My active surveys), shared (Surveys shared with me). Default: active.

Outputs

dataobject
The response from GetFeedback.
Example output
{
  "data": {
    "surveys": [
      {
        "completed_responses_count": 1,
        "created_at": "example",
        "folder_id": 1,
        "id": 1,
        "language": "example",
        "locale": "example",
        "merge_keys": [
          "example"
        ],
        "name": "example",
        "notification_level": "example",
        "questions_count": 1,
        "started_responses_count": 1,
        "updated_at": "example",
        "user_id": 1
      }
    ]
  }
}

Send survey invite

Email a survey to one person.

Inputs

Surveysurvey_idnumberRequired
The survey.
EmailemailtextRequired
The person's email address.
First namefirst_nametext
The person's first name.
Last namelast_nametext
The person's last name.
More fieldsmerge_fieldsobject
More details about the person, as names and values, that the message can name in brackets, such as user_id.
SubjectsubjecttextRequired
The email's subject. Write [first_name] or another recipient field in brackets to fill it in for each person.
Titletitletext
The heading at the top of the email, such as Hi [first_name],.
Messagebodytext
The email's message.
Button labelbutton_labeltext
The text on the button that opens the survey.
Question in the emailembedded_component_idnumber
Put this question in the email itself, so people can answer it there. Its ID is in Get survey's questions.
Sender namefrom_email_nametext
The sender's name, the part of the address before the @.
Sender domainfrom_email_domaintext
The sender's email domain, one set up for your GetFeedback account.
Reply toreply_totext
The address replies go to.
Footerfootertext
The email's footer.
Button colorbutton_colortext
The button's color as a hex value, such as #40c326.
Logo URLlogo_image_urltext
The address of a logo to show in the email.
Anonymousanonymizetrue/false
Turn off open and click tracking, and keep answers off the recipients' records.
Import without sendinggf_testtrue/false
Add the recipients to the survey's list without emailing them.

Outputs

dataobject
The response from GetFeedback.
Example output
{
  "data": {
    "subject": "example",
    "title": "example",
    "total_recipients": 1
  }
}

Send survey invites

Email a survey to a list of people.

Inputs

Surveysurvey_idnumberRequired
The survey.
RecipientsrecipientslistRequired
The people to invite, each with an email and optionally first_name, last_name and other fields the message names in brackets.
SubjectsubjecttextRequired
The email's subject. Write [first_name] or another recipient field in brackets to fill it in for each person.
Titletitletext
The heading at the top of the email, such as Hi [first_name],.
Messagebodytext
The email's message.
Button labelbutton_labeltext
The text on the button that opens the survey.
Question in the emailembedded_component_idnumber
Put this question in the email itself, so people can answer it there. Its ID is in Get survey's questions.
Sender namefrom_email_nametext
The sender's name, the part of the address before the @.
Sender domainfrom_email_domaintext
The sender's email domain, one set up for your GetFeedback account.
Reply toreply_totext
The address replies go to.
Footerfootertext
The email's footer.
Button colorbutton_colortext
The button's color as a hex value, such as #40c326.
Logo URLlogo_image_urltext
The address of a logo to show in the email.
Anonymousanonymizetrue/false
Turn off open and click tracking, and keep answers off the recipients' records.
Import without sendinggf_testtrue/false
Add the recipients to the survey's list without emailing them.

Outputs

dataobject
The response from GetFeedback.
Example output
{
  "data": {
    "subject": "example",
    "title": "example",
    "total_recipients": 1
  }
}

On this page