Collect feedback
Collect feedback from your own UI or server, then read it alongside flow responses.
- Last reviewed
You can collect feedback without creating a flow. You own the form and its questions; submissions appear in Responses alongside flow responses.
Collect via your server
Create a Server SDK integration in Integrations and put its API key and signing secret in your server configuration. Keep the signing secret on your server.
npm install @getuserfeedback/serverimport { createClient } from "@getuserfeedback/server";const client = createClient({apiKey: config.apiKey,signingSecret: config.signingSecret,});await client.feedback("Love this app!");To include the question and context with an answer:
await client.feedback({value: comment,question: { type: "text", text: "What should we improve?" },},{ properties: { surface: "settings", workspace_id: workspace.id } });Answers contain user input. Properties contain context you provide, including
a configured Group key such as workspace_id.
See the shared answer format for scales,
quantities, and choices.
HTTP source alternative
If you prefer to send HTTP directly, create an
HTTP source in Integrations and use its
endpoint and signing secret. Send a feedback operation through the same
signed batch you use for events and identities:
{"version": 1,"batch": [{"type": "feedback","messageId": "feedback-123","answers": [{ "value": "Love this app!" }]}]}Follow the HTTP source setup to sign and send the batch. Keep the signing secret on your server. The acknowledgement confirms acceptance; processing happens afterward.
A feedback operation collects one submission containing one or more answers.
Start with text, or use the shared answer format
for quantities, scales, and choices. You can also include properties for
context such as the page or feature being discussed.
Identities are optional. See HTTP feedback for respondent identity and consent fields. Collecting feedback does not itself grant permission for respondent analytics.
Collect from your own UI
Use client.feedback() to submit feedback from your own form in the browser:
await client.feedback("Love this app!");For React, get the same client with useGetUserFeedback() inside your
provider. See the React SDK reference.
Send a string for one text answer, or pass structured answers when you want to
save question text and answer types with the response. You can also include
properties for context such as the page or feature. See the
JavaScript SDK reference
and shared answer format for examples.
To use a form built in getuserfeedback.com instead, create a flow.
Read and export
Open Responses to find the submission. The source identifies where it came from. Open a row to read its answers and any properties; feedback without respondent identifiers appears as Anonymous.
Flow-specific filters exclude submissions collected without a flow. Clear those filters if you're looking for feedback sent through your HTTP source.
Choose Export to download the responses matching your current filters, across all pages:
- Submissions: one submission per row.
- Answers: one answer per row.
The dialog previews a sample. Downloads above 4 MB are rejected; narrow your filters and try again.