GetFeedback
App · 6 actions
Read survey responses and email survey invites.
Actions
| Action | What it does |
|---|---|
| Get response | Get one response to a survey with its answers. |
| Get survey | Get a survey with its questions and links. |
| List responses | List a survey's responses with their answers. |
| List surveys | List your surveys, or the surveys shared with you. |
| Send survey invite | Email a survey to one person. |
| Send survey invites | Email a survey to a list of people. |
Get response
Get one response to a survey with its answers.
Inputs
- Survey
survey_idnumberRequired - The survey.
- Response ID
response_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
- Survey
survey_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
- Survey
survey_idnumberRequired - The survey.
- Since
sincedate and time - Only responses from this time on, oldest first. Leave empty for the newest first.
- Until
untildate and time - Only responses up to this time. Works with Since.
- Compare
since_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. - Status
statustext - Only responses in this state. Leave empty for all.One of:
started(Started, not finished),completed. - Page size
per_pagenumber - Responses per page, up to 100.From 1 to 100. Default:
30. - Page
pagenumber - 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
- Show
filtertext - 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
- Survey
survey_idnumberRequired - The survey.
- Email
emailtextRequired - The person's email address.
- First name
first_nametext - The person's first name.
- Last name
last_nametext - The person's last name.
- More fields
merge_fieldsobject - More details about the person, as names and values, that the message can name in brackets, such as user_id.
- Subject
subjecttextRequired - The email's subject. Write [first_name] or another recipient field in brackets to fill it in for each person.
- Title
titletext - The heading at the top of the email, such as Hi [first_name],.
- Message
bodytext - The email's message.
- Button label
button_labeltext - The text on the button that opens the survey.
- Question in the email
embedded_component_idnumber - Put this question in the email itself, so people can answer it there. Its ID is in Get survey's questions.
- Sender name
from_email_nametext - The sender's name, the part of the address before the @.
- Sender domain
from_email_domaintext - The sender's email domain, one set up for your GetFeedback account.
- Reply to
reply_totext - The address replies go to.
- Footer
footertext - The email's footer.
- Button color
button_colortext - The button's color as a hex value, such as #40c326.
- Logo URL
logo_image_urltext - The address of a logo to show in the email.
- Anonymous
anonymizetrue/false - Turn off open and click tracking, and keep answers off the recipients' records.
- Import without sending
gf_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
- Survey
survey_idnumberRequired - The survey.
- Recipients
recipientslistRequired - The people to invite, each with an email and optionally first_name, last_name and other fields the message names in brackets.
- Subject
subjecttextRequired - The email's subject. Write [first_name] or another recipient field in brackets to fill it in for each person.
- Title
titletext - The heading at the top of the email, such as Hi [first_name],.
- Message
bodytext - The email's message.
- Button label
button_labeltext - The text on the button that opens the survey.
- Question in the email
embedded_component_idnumber - Put this question in the email itself, so people can answer it there. Its ID is in Get survey's questions.
- Sender name
from_email_nametext - The sender's name, the part of the address before the @.
- Sender domain
from_email_domaintext - The sender's email domain, one set up for your GetFeedback account.
- Reply to
reply_totext - The address replies go to.
- Footer
footertext - The email's footer.
- Button color
button_colortext - The button's color as a hex value, such as #40c326.
- Logo URL
logo_image_urltext - The address of a logo to show in the email.
- Anonymous
anonymizetrue/false - Turn off open and click tracking, and keep answers off the recipients' records.
- Import without sending
gf_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
}
}