SurveyNinja logo

SurveyNinja

0

Build surveys, read responses and make reports in SurveyNinja from Cursor: a hosted MCP server with more than 160 tools (OAuth or API key, every plan including Free) and 25 skills, from a survey built from a brief and a pre-launch check to A/B significance and open-answer analysis.

25 skills

surveyninja-ab-significance

Compares A/B variants in SurveyNinja and checks whether the

# Comparing A/B variants The main A/B mistake is deciding on random noise. On fifty responses a ten point difference appears by itself, for no reason at all. Reply to the person in the language they write in. ## Find out what is being compared - **The built-in A/B test.** In SurveyNinja a question, a message or an HTML block can show two or more versions of its title and description; the answer options stay the same. `get_quiz_structure` shows which questions have variants and their wording. - **Two surveys, or two sets of links to one survey**, run side by side. Then the variants are compared like any two groups of respondents. Ask first what counts as success: completion share, share leaving a contact, average rating, the share choosing a given option. Without that there is nothing to compare. ## Collect For the built-in test, `get_quiz_report`: the question's `abTest` block lists the variants. The report holds only completed responses, so there `shown_count` is the number of completed responses that saw each variant, and `completion_count` repeats it: the completion percentages are always near 100% and say nothing. Completion share by variant cannot be read through the tools: the responses from `get_quiz_answers` do not say which variant the respondent saw. Ask the person to open Results → Reports in the app, choose All above the report and read each variant's Impressions and Finished. All is there only when the plan keeps unfinished responses (`incomplete_answers` in `get_workspace_tariff`; it needs the `workspace_id` from `get_workspace_list`); without it, say that this metric is not available and compare what the completed responses allow. For any other metric (a contact left, a rating, an option chosen) the report does not split answers by variant. The answer export (`export_answers_csv`) has a column with the variant each respondent saw: use it if you can open the file, or ask the person to apply the A/B test section of Filter in Results and read the numbers per variant. Export and filters depend on the plan. For two surveys: `get_quiz_summary` for each gives the completed (`filled_completely`) and unfinished (`started_not_finished`) counts. For two sets of unique links: `get_quiz_answers` with `unique_link_group_id`, `is_complete` true and then false, paged with `limit` and `offset`; count the responses returned, as `answer_total_count` is the whole survey's total. Without unfinished responses on the plan, `is_complete` false returns completed ones: check each response's `is_complete` field. Answers per set: `generate_filtered_report` with `unique_link_group_id` (completed responses only). The SurveyNinja report may mark a leading variant. That mark starts at 80% confidence, a lower bar than a decision needs, so treat it as a hint. ## Compute 1. The metric per variant with its base: "42 of 180" beats "23%". 2. The difference in percentage points, not percent of a percent. 3. Whether there is enough data. Rule of thumb: a five point difference needs hundreds per group, a twenty point one needs dozens. Below a hundred per group a difference can rarely be called proven. When in doubt, run a two-proportion test and give the result in plain words. 4. That the groups are comparable: same period, same traffic source. If the shares or the wording changed during the test (`get_quiz_versions`), say so. ## How to answer Three possible conclusions; pick one honestly: - **There is a difference.** State its size and what it means in practice. - **There is no difference.** The variants perform the same, which is also a result: choose either on other grounds. - **Not enough data.** Say how much more is needed and give no recommendation. The third is the most common and the least popular, and giving it honestly matters more than guessing. ## What not to do - **Do not declare a winner on a couple of points** on a small sample. - **Do not compare variants from different periods.** Seasonality breaks it. - **Do not peek and stop the test** the moment the preferred variant pulls ahead. - **Do not call a difference significant because it is badly wanted.** - **Do not suggest a plan upgrade or lead to payment.** If a limit is hit or a feature is not on the plan, state the fact and stop.

surveyninja-account-audit

Reviews the state of a SurveyNinja account in one read-only report:

# The account in one report Accounts silt up: surveys collecting responses nobody reads, year-old drafts, storage running out, a webhook that switched itself off months ago. The job is to show all of it at once and change nothing. Reply to the person in the language they write in. ## What to gather Start with `get_workspace_list` to get the account's `workspace_id`: most tools below need it. In the SurveyNinja interface the survey folders are called "Workspaces" and the whole account is the "account": use those words with the person. | What | Tool | |---|---| | Surveys and workspaces (folders) | `get_quiz_list`, `get_folder_list` | | Account and the key owner's permissions | `get_workspace_details` | | Plan, limits and what remains | `get_workspace_tariff` | | Storage and files hidden over the quota | `get_workspace_storage_usage`, `get_workspace_hidden_files` | | Members and invitations | `get_workspace_members` | | What one member can actually do | `get_workspace_member_access` | | Recent activity of a survey | `get_quiz_summary` | | Where responses go | `get_quiz_email_settings`, `get_quiz_integrations`, `get_quiz_webhooks` | There may be many surveys. Check where responses go for the ones with recent responses, not for all of them. Archived surveys are not in the regular `get_quiz_list` output; ask for the archive separately if it matters. ## What to look for **Responses piling up unseen.** A published survey with recent responses, no email notification to the author, no enabled integration and no working webhook. The most valuable finding of an audit. **Notifications that only look set up.** A recipient address that was never confirmed with the code from the letter receives nothing. A webhook that was switched off automatically after a run of failed deliveries. An integration that is connected but no longer allowed by the plan. **Ghost surveys.** Published, but no responses for a long time: the link is no longer shared, or it is broken somewhere. **Drafts.** Created and abandoned. They count against the survey limit; archived surveys do not. **Storage.** How much is used and by which surveys, and whether files have started to be hidden over the quota. Hidden files look to the author like attachments that disappeared from responses. **Plan limits.** What is already hit or close: surveys, responses, members, disk space, email recipients. **Access.** Invitations that were never accepted, members whose email is not confirmed, members with wider access than their work needs. For a member who looks over-privileged, `get_workspace_member_access` shows the effective permissions, per-workspace overrides included; "Own only" in the interface means the action works only on what that person created. ## How to present In sections, by weight: first what is losing data right now, then what is merely worth tidying. For each finding: how many objects, which ones, and what specifically to do. Avoid a vague "clean it up". If the person wants the tidy-up done, that is a separate step with its own confirmation. ## What not to do - **Delete and change nothing during the audit.** It is a report, not a cleanup. - **Do not call a survey abandoned** when it may simply be seasonal: ask. - **Do not show respondents' personal data** in the report: counts and survey names are enough. - **Do not suggest a plan upgrade or lead to payment.** When a limit is hit or files are hidden over the quota, state the fact and stop.

surveyninja-answer-notifications

Sets up and repairs notifications about new responses to a SurveyNinja

# Where new responses are announced The most common setting in a survey and the most common cause of "responses are coming in and nobody knows". Reply to the person in the language they write in; write email subjects and texts in the language of the people who will read them. ## 1. See what is already set `get_quiz_email_settings` shows whether survey emails are on, who receives them, whether each address is confirmed (the `checked` field) and the letter templates. `get_quiz_integrations` shows whether Telegram is connected, switched on and allowed by the plan. The response also lists channels SurveyNinja does not offer; ignore them. ## 2. Email - Turn the team notification on with `toggle_quiz_email` (`type` owner). The copy of the answers to the respondent is `type` client; it is not available on every plan, and the respondent's address comes from an email question or a variable set as `client_source` in `save_quiz_email_template`. - Add a recipient with `add_quiz_email_recipient`. The number of addresses depends on the plan. - **The address must be confirmed.** A letter with a 4-digit code goes to it, and until it is confirmed nothing is delivered there, while the setting still looks complete. This is the single most common cause of "we set it up and get nothing". You cannot read that mailbox. An address already confirmed in another survey of the workspace needs no code. - Connected by API key: ask the person for the code and confirm with `confirm_quiz_email_recipient`; its "resend_code" action sends a new one. - Connected with "Allow access" (the sign-in Claude, ChatGPT and other assistant apps use), that tool is not offered, so that text in a respondent's answer cannot add someone else's address as a recipient. The person enters the code in the app: the survey's Notifications tab, Added addresses, click the address shown in red. A new code is there too, under "get the code again". Do not ask for the code in the chat then: you have nowhere to enter it. - Switch one address on or off with `toggle_quiz_email_recipient`; remove one with `delete_quiz_email_recipient`. - What goes into the letter: `set_quiz_email_questions` lists the questions to leave out (the full list each time; an empty list brings every question back), and `save_quiz_email_template` sets the subject and text. Do not put every question into the email when there are many: the contact and two or three key answers are more useful than the whole questionnaire. ## 3. Telegram `manage_quiz_messenger` with `messenger` telegram. `show` lists the chats and people the messages go to, the subject and the excluded questions. - `activate` switches sending on and returns a bot link. The person opens it and adds the bot to their chat or group; you cannot do that step for them, so give the link and the steps. No tokens are needed. - "save_widgets" sets the subject and the questions to leave out of the message. - `test` sends a test message. It is the best way to verify the setup without waiting for a live respondent. - "remove_recipient" removes one chat; `deactivate` stops sending; `delete` removes the integration. If Telegram is not on the person's plan, the tool says so: state it and stop. ## If it stopped working 1. `get_quiz_integrations`: is Telegram switched off, not connected, or blocked by the plan? 2. For Telegram, `get_integration_logs` with `integration` telegram. The rejection text is there (bot removed from the group, chat deleted) together with the count of unsent messages. 3. For email, check that the address is confirmed and switched on in `get_quiz_email_settings`, and ask the person to look in their spam folder. 4. Once the cause is fixed, `resend_integration_logs` sends the Telegram backlog: one entry by `log_id`, or every failed one over a period. Resending earlier is pointless: the same rejection repeats. ## What not to do - **Do not enable notifications the person switched off deliberately.** Ask first. - **Do not resend before the cause is fixed.** - **Do not add your own or a guessed address.** Only the one the person gave. - **Do not suggest a plan upgrade or lead to payment.** If a limit is hit, state the fact and stop.

surveyninja-answers-cleanup

Puts collected SurveyNinja responses in order: finds test runs,

# Cleaning up responses Test runs, random clicks and duplicates distort the statistics. Cleaning brings the reports back to what respondents really said, but part of it cannot be undone, and that is the main thing to keep in mind. Reply to the person in the language they write in. ## Look first, act second `get_quiz_answers` with filters (date, completion, sort by start or end time): show exactly what would be affected, meaning how many submissions, over what period, and selected by which signal. Act only after the person agrees. Hidden responses and those screened out by the survey logic are not in the default output; ask for them with the matching filter when they matter. ## What does what | Task | Tool | |---|---| | Hide a response from reports and the summary without deleting it | `toggle_answer_visibility` | | A short note on a response (up to 100 characters) | `set_answer_note` | | Tags on a response | `tag_answer` | | Workspace tag list | `get_answer_tags`, `create_answer_tag`, `delete_answer_tag` | | Move to trash, restore, delete for good | `delete_quiz_answers` | | Question order inside a response card | `set_answers_order_mode` | ## Three levels of removal 1. **Hide.** The response stays in the list but leaves reports and the summary. Reversible. The right choice when unsure. 2. **Trash.** The response leaves the list and the report but can be restored. 3. **Permanent.** Nothing to recover, and the files the respondent uploaded go with it. It needs an explicit confirmation flag, and that confirmation must come from the person in words for the specific volume. Start at level one. Offer level three only when permanent deletion is explicitly requested. Hidden responses are skipped by trash and permanent deletion: bring a response back into reports first if it really has to go. ## What people usually look for - **Test submissions**: the author's own runs while building, usually the earliest ones, before the survey was shared. - **Too fast**: completed quicker than the questions can be read. - **Straight-lining**: the first option everywhere, or one rating throughout. - **Duplicates by contact**: the same email or phone number several times. Show them as separate groups with counts, not one long list. ## Tags and notes The tag list belongs to the workspace, not to the survey, so the tag tools need the workspace id: take it from `get_workspace_list`. Tags beat deletion: the response stays in the statistics but is marked. "Call back", "complaint", "needs work" are easier to work with than an exported sheet. Read `get_answer_tags` first and reuse an existing tag. Create a new one only if nothing suitable exists, otherwise the workspace ends up with three spellings of the same thing. `tag_answer` replaces the tags of a response, so pass the ones it already has together with the new one. `set_answers_order_mode` also changes the public link to responses and the Word export, so mention that before switching it. ## What not to do - **Do not delete permanently without explicit consent** for the specific volume. - **Do not clean "outliers" by answer value**: a low rating is a real answer. - **Do not delete responses to improve the numbers.** - **Do not suggest a plan upgrade or lead to payment.** If a limit is hit, state the fact and stop.

surveyninja-benchmark

Compares SurveyNinja survey results against each other: one

# Comparing with your past self A single number means almost nothing: is 4.2 good or bad? Meaning appears only against a previous measurement. Reply to the person in the language they write in. ## Two kinds of comparison **One survey across periods**, in waves. The most reliable: same questionnaire, same audience, only time differs. **Different surveys in the account** are comparable only on general metrics such as completion rate and time to complete. Substantive answers cannot be compared when the questions differ. ## How to collect For waves: `get_quiz_report` with `date_from` and `date_to`, once per period. The dates work only when the plan has results filters (`result_filters` in `get_workspace_tariff`, with the `workspace_id` from `get_workspace_list`); otherwise the report silently covers all time, and two periods give identical numbers. Without the filters, read the completed responses with `get_quiz_answers` (`is_complete` true, paged with `limit` and `offset`) and split them by their end date, or say that waves cannot be compared here. The report holds only completed responses either way; completion per period comes from the daily counts in `get_quiz_summary` (`number_answer_by_day`; the unfinished ones appear only when the plan keeps them). For different surveys: `get_quiz_list`, then `get_quiz_summary` for each. The summary gives visits, completed and abandoned responses, completion rate and average time. **Check `get_quiz_versions` before comparing waves.** Every publication leaves a snapshot with its date. If the survey was republished between the waves and the wording or options changed, the numbers are not comparable, and that must be said plainly rather than shown as a trend. If the snapshots do not make clear what changed, ask the person. ## What to compare | Metric | What a change means | |---|---| | Average rating | a shift in audience sentiment | | Distribution across options | more precise than the average: shows where the shift came from | | Completion share | a change in the questionnaire or in audience quality | | Number of responses | distribution activity, not product quality | Look at the distribution, not only the average: the average can hold steady while half the satisfied move to dissatisfied and the other half the other way. ## How to answer - **State direction and size.** "The average rose from 4.0 to 4.3", and how many responses each is based on. - **Say whether it is meaningful.** On small samples, tenths mean nothing. - **Do not explain a cause that is not in the data.** A guess can be offered, but labeled as a guess. ## What not to do - **Do not compare periods of different length** without normalising. - **Do not compare waves with an edited questionnaire** in between without saying so. - **Do not compare seasonal periods head-on.** December and July behave differently. - **Do not suggest a plan upgrade or lead to payment.** If a limit is hit or a feature is not on the plan, state the fact and stop.

surveyninja-data-quality

Checks the quality of responses collected in SurveyNinja: too-fast

# Can this data be trusted Before building conclusions it is worth looking at what they are made of, especially if the survey was distributed for a reward or through an open link. Reply to the person in the language they write in. ## What to check **Too fast.** Completed in less time than it takes to read the questionnaire. Rule of thumb: at least five seconds per question; for ten questions, anything under a minute is suspicious. The average time from `get_quiz_summary` helps set the bar for this survey. **Flat-lined.** The first option everywhere, one rating throughout, a whole matrix column. **Duplicates by contact.** The same phone or email several times. Sometimes honest, a double submission by mistake, but in a rewarded survey it is cheating. **Junk text.** "Aaa", "123", random letters in a required open field. **Contradictions.** "Never used the service" followed by a detailed rating of it. Usually this means the display logic is wrong, not that the person lied. **Time spikes.** Twenty submissions in a minute with an identical answer pattern. ## How to collect - `get_quiz_summary`: how many completed, how many were screened out, the average time to complete. - `get_quiz_answers` with `is_complete` true, paged with `limit` and `offset`: the submissions themselves with their start and end times and contacts, one trait at a time. Screened-out and hidden responses are not returned by default, which is right for this check. - `get_quiz_report` for the distributions, and `get_quiz_report_inputs` for the texts of one open question in the junk check. ## How to present Per trait: how many submissions match and what share of the total. Separately: how many submissions remain if all of it is removed, and how the key numbers change. That last part matters most: if the conclusions hold after cleaning, there is no need to clean. ## What to do with findings Propose, do not act: 1. Tag them with `tag_answer`. The data stays, the doubtful ones are marked. The tool replaces the tags of a response, so keep the tags it already has. 2. Hide them from reports with `toggle_answer_visibility`. The response stays in the list and can be brought back. 3. Delete them with `delete_quiz_answers` only on an explicit request and after confirmation. Moving to the trash can be undone; permanent deletion cannot. Start with the first. For the next wave, the survey settings can limit one response per person and add a captcha or a password; mention it, do not change the settings without being asked. Connected with "Allow access", passwords and captcha keys are entered by the person in the app, not in the chat. ## What not to do - **Do not call low ratings and harsh comments junk.** An unhappy respondent is not cheating. - **Do not delete anything yourself** off the back of this check. - **Do not trim the sample** toward a desired result. - **Do not suggest a plan upgrade or lead to payment.** If a limit is hit or a feature is not on the plan, state the fact and stop.

surveyninja-integration-triage

Finds why responses to a SurveyNinja survey do not reach an external

# Why responses are not leaving the survey A silent integration has several different causes, each with a different fix. Work strictly in order: every next step costs more than the previous one. Reply to the person in the language they write in. Reasons and log messages are collected in [references/reasons.md](references/reasons.md). ## 1. Get the survey id Nothing can be done without it. If the survey was named in words, find it with `get_quiz_list` and confirm it is the right one before changing anything. ## 2. Read the state: `get_quiz_integrations` It returns Telegram, Zapier and Google Sheets with a ready-made reason in the `blocked` field. This covers most requests and costs nothing. The response also lists channels SurveyNinja does not offer; ignore them. | Reason | Meaning | What to do | |---|---|---| | `blocked_by_tariff` | not included in the plan | state it plainly and stop, see the rule below | | `not_connected` | no connection at all | Telegram: offer `manage_quiz_messenger` `activate`, which returns the bot link the person adds to their chat; Google Sheets and Zapier connect in the app: give the steps | | `disabled` | connected, sending switched off | ask whether that was deliberate; enable only with consent | | empty | settings are fine | go to step 3 | Email notifications and webhooks are not in this response. They have their own checks, see steps 5 and 6. ## 3. Find the refusal Each channel shows its cause in a different place. **Telegram**: `get_integration_logs` with `integration` telegram. The refusal text is there (bot removed from the group, chat deleted, topic closed), and the unsent counter shows how much is waiting. **Google Sheets**: `manage_quiz_google_sheets` with the `show` action. It shows whether access to the Google account is alive, the refresh mode and when the last export happened. Two common causes: - access to the Google account was revoked, or the table was deleted: the person reconnects the table in the app, because that needs a Google sign-in; - nothing is broken, the refresh mode is `scheduled` (once a day) or `manual`, so rows appear later or only on command. Explain it and ask whether to switch to `realtime` with "set_sync_mode". **Zapier**: `manage_quiz_zapier` with the `show` action. It shows whether sending is on and how many zaps are subscribed. Zero zaps means the zap was deleted or turned off on the Zapier side. SurveyNinja keeps no log of what Zapier did next: the run history is in the person's Zapier account, under the zap's history. ## 4. Resend only after the cause is fixed - Telegram: `resend_integration_logs`, one entry by `log_id` or every failure over a period. - Google Sheets: `manage_quiz_google_sheets` with `sync_now` pushes what piled up. "export_all" re-exports every answer; ask where to (a new file, a new sheet, or `replace`, which overwrites the current sheet) before running it. - Zapier: once the zap is back on in Zapier, new responses flow again. There is no resend from the survey side. Resending while the cause is alive is pointless: the same refusal repeats and the log fills with noise. The person fixes their side first: returns the bot to the group, restores access to the table, turns the zap back on. ## 5. Email notifications `get_quiz_email_settings`: is the notification on, is each address confirmed (the `checked` field) and switched on. An address that was added but never confirmed receives nothing, while the settings look complete. That is the most common cause. Connected by API key, ask the person for the code from the letter and confirm it with `confirm_quiz_email_recipient`. Connected with "Allow access" (the sign-in assistant apps use), that tool is not offered: the person enters the code in the app, on the survey's Notifications tab, by clicking the address shown in red under Added addresses. A recipient or the whole notification switched off is turned back on with `toggle_quiz_email_recipient` or `toggle_quiz_email`, after asking. If everything is confirmed and on, ask the person to check their spam folder. ## 6. Webhooks separately `get_quiz_webhooks` lists the webhooks, whether each is on, and whether one switched itself off after a run of failed deliveries. `get_quiz_webhook_logs` is the delivery log with the receiver's response code. `resend_quiz_webhook_log` resends after the receiver is fixed, and `toggle_quiz_webhook` turns a self-disabled webhook back on. Header values in responses are masked: they hold access keys to someone else's system. Do not ask the person to read them out, and do not offer to rewrite headers "to test": passing `headers` to an update replaces the whole list. ## What to say at the end Three things: which channel is silent, for what exact reason, and what the person needs to do. If the cause was fixed and the backlog resent, say how many went out. ## What not to do - **Do not suggest a plan upgrade or lead to payment.** When the plan blocks a channel, name the reason and stop. - **Do not enable sending yourself.** A disabled integration is often disabled on purpose. - **Do not resend "just in case".** See step 4. - **Do not delete an integration to "reset" it.** Deleting Zapier removes its subscriptions, and the zap has to be rebuilt in Zapier; deleting a webhook loses its headers and log.

surveyninja-launch-kit

Prepares launch material for a SurveyNinja survey: announcement copy

# Launch material The survey is ready but still has to reach people. That is usually done by hand in several places at once. Prepare it all in one go. Reply to the person in the language they write in. Write the announcement copy in the language of the survey's audience. ## 1. Establish the channels Ask where it goes: an email list, the website, social posts, WhatsApp or Telegram chats and groups, print. Each channel gets its own labeled link, otherwise there is no way to tell what worked. ## 2. Links with labels Check the survey is published (`get_quiz_versions` shows the publication history). An unpublished survey does not open by its link, and the send-out goes nowhere. A label is a parameter added to the survey link, for example `?source=email-oct` or `?source=whatsapp`. SurveyNinja saves the link's parameters with each response (its hidden values in Results), so responses can later be counted per channel. Splitting the report by label in Results uses the report filters, which depend on the plan; without them the count per label is still taken from the responses. Name labels readably: `email-oct`, `instagram`, `whatsapp-group`, `site-banner`, not `utm1` and `utm2`. Nobody remembers what those meant a month later. If the person already uses `utm_source` and `utm_campaign`, keep their convention; `get_quiz_variables` shows the names already set up for the survey. `set_quiz_link` changes the address itself to something short and readable. It is optional and not on every plan. For the website, the embed code (frame, pop-up, side widget or button) is copied from the survey's share section in SurveyNinja. There is no tool for it: tell the person where to find it and which label to put in the link. ## 3. Announcement copy One per channel, all following one rule: **why it matters to the reader, how long it takes, what happens next**. - **Email.** A subject line that does not start with the word "survey", such as "Three questions about your visit". Two or three lines and a button in the body. - **Social posts.** One or two sentences and the link. Reader benefit first. - **WhatsApp or Telegram message.** One short line that reads like a person wrote it, and the link. - **Website banner.** Five words at most. Do not promise a reward that does not exist, and do not understate the time: "takes a minute" for a fifteen-question survey buys abandonment and irritation. ## 4. Print `manage_quiz_qr_code` builds a code from the published survey link. It always encodes that plain link and takes no parameters, so the code cannot carry a label and responses from print arrive unlabeled: say so. Verify the code opens the right page before printing a run. A logo in the centre is uploaded in the app; an already uploaded one is included. ## 5. Tracking, if they use it If the person tracks campaigns in Google Analytics or runs Meta ads, `manage_quiz_analytics` connects a Google Analytics counter or a Meta Pixel to the survey. Only offer it when they mention it. ## 6. Last thing to say Where the responses will land: are notifications set up? Check with `get_quiz_email_settings`, `get_quiz_integrations` and `get_quiz_webhooks`. If nothing is set up, offer to do it before the send-out, not after: an email notification, or a Telegram message with `manage_quiz_messenger`. ## What not to do - **Do not send anything yourself.** This prepares material; the person launches. - **Do not publish the survey unasked.** - **Do not invent figures** for the announcement. - **Do not suggest a plan upgrade or lead to payment.** If a limit is hit, state the fact and stop.

surveyninja-lead-quality

Analyses the quality of leads collected by a SurveyNinja survey: how

# Counting usable leads When a survey works as a lead form, the completion rate says little. What matters is how many people left a contact the team can actually reach. Reply to the person in the language they write in. ## Collect `get_quiz_structure`: find the contact questions (types `phone`, `email`, and `fio` for the name) and the question right before the first of them. `get_quiz_summary`: how many finished (`filled_completely`) and how many started but left (`started_not_finished`). `get_quiz_report` counts the answers to each question, but only among completed responses. `get_quiz_answers` with `is_complete` false: the unfinished responses, paged with `limit` and `offset`. They show who reached the contact question and left without filling it. They are not kept on every plan (`incomplete_answers` in `get_workspace_tariff`, with the `workspace_id` from `get_workspace_list`), and without them `is_complete` false returns completed responses instead: check the `is_complete` field. Then say that the drop-off before the contact cannot be measured. `get_quiz_report_inputs`: the values entered in the contact questions, to check whether they are usable. It needs `report_uuid` from `get_quiz_report` and the question's `widget_id` and `widget_hash` from `get_quiz_structure`, and returns 50 rows at a time: page with `offset`. Reading the completed responses with `get_quiz_answers` page by page works too. Link labels such as `utm_source`, if the link was shared per channel: each response from `get_quiz_answers` carries them in `extra_fields`, and `get_quiz_variables` lists the label names set up for the survey. Count leads per label from the responses. ## Compute 1. **Share with a usable contact** out of everyone who started. This is the headline number. Completion can be high while leads are few. 2. **Where people drop off.** Among the unfinished responses, count those that answered the question before the contact but not the contact itself. They are the people who got there and changed their mind. 3. **Contact usability.** Count separately: - emails with a broken format, placeholder addresses (`test@test.com`, `a@a.com`, anything at `example.com`) and typos in big mail domains (`gmial.com`, `hotmial.com`); - phone numbers that cannot exist: fewer than 7 or more than 15 digits (the international maximum), one digit repeated, runs like `123456789`; - one-letter names and keyboard mash. A lead with a dead email or phone does not count as a lead. 4. **Duplicates.** The same email or phone several times is one lead. 5. **By channel**, if labels exist: leads and the usable share per label. ## What usually gets in the way - **The contact is asked too early**, before the person sees what they get. Move it closer to the end. - **Too much is asked.** Email, phone and city at once: every extra field costs leads. Ask for the one channel the team really uses. - **No reason given.** One line such as "we will call to agree on a time" usually lifts the share more than any design change. - **A phone question locked to one country.** When respondents come from several countries, a single default country with the selector hidden turns the others away. Suggest country auto-detection or showing the selector in the phone question settings. - **A required contact in an otherwise optional survey**: people leave without answering anything. ## How to present Numbers first: started, reached the contact question, left a contact, usable, and usable as a share of those who started. Then where people drop off and what to change, ordered by payoff. With channels, a table plus a conclusion about which channel brings better leads in substance, since the biggest channel is often not the best one. ## What not to do - **Do not count a submission without a contact as a lead.** - **Do not paste contacts into the chat**: they belong in an export or in the connected Google Sheets, Zapier or webhook. - **Do not advise removing every required field**: a lead without a contact is useless. - **Do not suggest a plan upgrade or lead to payment.** If a limit is hit, state the fact and stop.

surveyninja-open-answers

Analyses free-text answers from a SurveyNinja survey: groups them into

# Analysing free-text answers Open questions give the most valuable material and the least convenient one: a hundred lines of text that appear in the report as a plain list. The job is to turn them into a few themes with numbers. Reply to the person in the language they write in. Keep quotes in the language the respondent wrote them in. ## Collect 1. `get_quiz_structure` — find the open questions with their `widget_id` and `widget_hash`. 2. `get_quiz_report` — gives the `report_uuid`. 3. `get_quiz_report_inputs` with those three — the text answers for one question, 50 at a time: page with `offset` until nothing is left. If several questions collect text, take them one at a time: mixing answers to different questions produces mush. The texts follow the report's saved filters (by default, completed responses only); no call parameter narrows them. To analyze only part of the respondents (one segment, one period), the saved report filters have to change: read them with `get_quiz_report_filters`, and before `save_quiz_report_filters` ask the person, because the same filters apply to the report screen, the public link and the PDF that others see. Restore them afterwards if asked. If report filters are not available on the person's plan, say so as a fact and analyze all answers. ## Analyze 1. **Extract themes** by meaning, not by wording: "waited long", "waited forty minutes" and "the queue" are one theme. 2. **Count.** How many answers per theme and what share of those who answered. 3. **Separate the empty ones.** "No", "all fine", "-" form a "no content" group: do not theme them, and do not hide them either, because the size of the group says something. 4. **Pick quotes.** One or two per theme, verbatim, the most characteristic. 5. **Note sentiment** where it is distinguishable: one theme can carry different attitudes. ## How to present Themes by descending frequency. For each: a theme name in your own words, the count, the share, one quote. At the end: the two or three themes that recur most, which is what is worth acting on. ## Honesty rules - **Do not invent themes.** If the answers do not group, say so. - **Do not bend results to expectations.** If they expected price complaints and people write about deadlines, report deadlines. - **Quote verbatim**, typos included: a tidied quote stops being evidence. - **Do not conclude from five answers.** Say the data is thin. ## What not to do - **Do not mix answers to different questions** in one analysis. - **Do not surface quotes containing personal data.** Strip phone numbers, email addresses and names out of the quote. - **Do not suggest a plan upgrade or lead to payment.** If a limit is hit, state the fact and stop.

surveyninja-prelaunch-check

Checks a SurveyNinja survey before launch and finds what will break on

# Checking a survey before launch Survey mistakes surface after the link goes out, when part of the responses are already collected through a broken questionnaire and cannot be compared with anything. Reply to the person in the language they write in. ## Order Read `get_quiz_structure` (questions, their logic, and the headings and texts of the welcome and thank-you screens), `get_quiz_texts` (interface and button labels) and `get_quiz_list` (the survey type, whether it is published and at what address), then walk the list below. Fix nothing silently: show the findings first, then ask what to repair. ## What to check **Branching** - Dead ends: a branch with no way forward and no way to finish. - Unreachable questions: nothing routes to them. - Conditions pointing at deleted or renamed questions. - An operator that does not fit the question type, such as "greater than" on a text field. **Questions** - A choice question with no options. - Required questions that do not need to be required: each one costs responses. - Open text where a count is needed: a rating typed as text never reaches the charts in the report. - Excessive length: if there are more than fifteen questions, say so plainly. **Texts** - Empty headings, default button labels, an empty text on a thank-you screen that exists. - No `finish` screen is not a defect: the respondent then sees the standard completion screen, and the Thank You screen depends on the plan. Mention it only if the survey needs its own final message, such as a promised next step. **Where the answers will go** - `get_quiz_email_settings`: are notifications on, are recipients set, and **are their addresses confirmed** (the `checked` field). An unconfirmed address looks configured but receives nothing. - `get_quiz_integrations`: is Telegram, Zapier or Google Sheets connected, is sending on, and does the plan allow it. - `get_quiz_webhooks`: if there are webhooks, are they on, and was one switched off automatically after failed deliveries. - A survey with no notifications and no integrations collects responses in silence. That can be fine if the person reads the report, but say it. **Plan and access** - `get_workspace_tariff`: how many responses, surveys and storage remain, and whether the features the survey relies on are included. - A regular survey: is it published and reachable by its link. - An on-site survey (type `micro`) has no link of its own: `get_quiz_summary` shows `is_connected`. If it is false, the survey is not on any site yet and nobody will see it. ## What not to do - **Do not fix silently.** List the findings and let the person decide. - **Do not publish on your own initiative.** - **Do not rewrite question wording.** That is separate work. - **Do not suggest a plan upgrade or lead to payment.** If a limit is hit or a feature is not on the plan, state the fact and stop. ## What to say at the end Findings ordered by weight: what will break collection, what will degrade data quality, what is merely worth improving. If everything is clean, say so and do not invent remarks.

surveyninja-report-appearance

Configures how a SurveyNinja survey and its reports look: the survey

# Styling the survey and the reports The survey and the report are what outsiders see: the respondent and the client. These settings are cheap and change the impression a great deal. Reply to the person in the language they write in. ## Survey theme Branding and the shared report palette live at account level, and most tools below need the account id: take it from `get_workspace_list`. `get_theme_list` shows what already exists in the account, and `get_theme_details` shows the colors of one theme. **Look at existing themes first**: usually a suitable one is already there. `apply_quiz_theme` applies a theme to a survey. `create_theme` and `update_theme` are for custom colors. `manage_theme` copies a theme (quicker than starting from scratch), deletes one or restores a deleted one; surveys that used a deleted theme move to the default one. Ask about brand colors concretely: the main button color, the background, whether there is a logo. More than two or three colors in a survey is too many. ## Report styling `get_workspace_report_appearance` shows the shared account palette, the saved presets and the allowed values for every field. There are two levels, and the difference matters: - **The shared palette**, `update_workspace_report_palette`, repaints every survey that follows it. Surveys with their own colors keep them. - **One survey's report**, `update_quiz_settings` with `results_appearance`, gives that survey its own palette, bar colouring, font, value labels and grid lines. It stops following the shared palette, and nothing else changes. If the person wants a new look for a single report, use the survey level. If they ask to change the shared palette, say first that every report following it changes too. `create_report_appearance_preset` saves a set of settings under a name, useful when reports go to different clients; `delete_report_appearance_preset` removes one. A preset is a template: to use it on a survey, pass its settings as `results_appearance`. Deleting or editing a preset does not touch surveys it was used on. The PDF of the AI report is printed from the public report page, so it carries the same palette and font. ## Logo and branding `upload_workspace_logo` (a public URL or a file, up to 1 MB), `delete_workspace_logo`, and `update_workspace_branding` to show or hide the logo and the SurveyNinja branding line. These are account-wide, not per survey: the logo appears in every survey, report and PDF of the account. A custom logo and hiding the SurveyNinja branding are not available on every plan. If the plan does not allow it, the tool says so: state it plainly and stop. ## Advice worth giving - **Contrast beats beauty.** Light grey on white is unreadable on a phone, and most surveys are taken on phones. - **Chart palettes must survive black-and-white printing**, because reports get printed. The `contrast` and `mono` palettes are safe choices. - **A logo on the survey is fine; on every question it is not.** ## What not to do - **Do not change the shared account palette for one report** without warning. Use the survey's own report appearance instead. - **Do not create a new theme when a suitable one exists.** - **Do not suggest a plan upgrade or lead to payment.** If the plan does not allow a custom logo or hiding the branding, state the fact and stop.

surveyninja-response-funnel

Works out where respondents abandon a SurveyNinja survey and explains

# Where the survey is abandoned "Few responses" rarely means few people arrived. Usually one specific question is where people close the tab. Reply to the person in the language they write in. ## Build the picture 1. `get_quiz_summary` — how many finished (`filled_completely`) and how many started but left (`started_not_finished`). 2. `get_quiz_answers` with `is_complete` false — the unfinished responses, paged with `limit` and `offset`. Each lists every question in order; the last one with an answer is where that person stopped. The report will not do: it holds only completed responses. 3. `get_quiz_structure` — question order and types, to tie a position to content. Compute the completion share and, from the unfinished responses, how many people stopped at each question: the question where most of them stop is where the drop happens. **If unfinished responses are not kept.** They are not part of every plan: `incomplete_answers` in `get_workspace_tariff` (it needs the `workspace_id` from `get_workspace_list`) tells whether they are. Without them `is_complete` false returns completed responses instead, so check the `is_complete` field of what comes back. When they are not available, say so plainly: there is nothing to compute the drop-off point from. What is left is the completion share from `get_quiz_summary` and a reading of the survey itself: length, order, required questions. That is weaker, and the person should be told, not handed a guess dressed up as a measurement. ## Reading it - **A steady decline of a few percent** from question to question is normal. - **A cliff at one question** is the problem. Look at it closely. - **A cliff on the first screen** is about the promise, not the question: people did not understand what the survey is for, or saw that it is long. - **A cliff at the last step** is almost always contacts: they were asked for before the person understood why to give them. ## Common causes by type | Question | Why people leave | |---|---| | Open text | typing is effort, especially on a phone | | Required contact | unclear why, and not trusted | | A ten-row matrix | looks like work | | A long option list | nobody wants to read it | | File upload | awkward on a phone | | A personal question with no explanation | feels intrusive | ## What to propose Specific edits instead of "shorten the survey": make this one optional, move that one later, split this matrix, add one line explaining why you ask. Ask for contacts at the end, after the person has already invested effort. ## What not to do - **Do not compute conversion over all responses** if some are your own test runs. Cut them off by date first. - **Do not draw conclusions from twenty responses.** - **Do not edit the survey yourself.** Present the findings and propose changes. - **Do not suggest a plan upgrade or lead to payment.** If a limit is hit, state the fact and stop.

surveyninja-results-digest

Explains what a SurveyNinja survey showed: pulls the summary, the

# What the survey showed The answer is a few numbers with an explanation of what they mean. A dump of raw responses is not an answer. Reply to the person in the language they write in. ## Which tool for what This is where the wrong tool gets picked most often: | What you need | Tool | What it returns | |---|---|---| | The funnel | `get_quiz_summary` | visits, completed, abandoned, completion rate, screened out, average time, by day, devices, countries | | Answers per question | `get_quiz_report` | distributions for every question, completed responses only | | A slice by answers, tags or a set of unique links | `generate_filtered_report` | the same report over the selected responses | | Individual submissions | `get_quiz_answers` | raw responses one by one | | Free text of one question | `get_quiz_report_inputs` | text answers, 50 per page | | A file for a human | `export_answers_xlsx` and the other `export_*` tools | a download link | **Start with the summary and the report, not with raw answers.** Raw answers are for a specific submission or for quoting examples. ## Order 1. `get_quiz_summary`: how many visited, how many finished, how many abandoned. If many abandoned, say so and treat them separately. 2. `get_quiz_report`: the distributions. It counts completed responses only, whatever `is_complete` says. Unfinished ones are read one by one with `get_quiz_answers` with `is_complete` false, if the plan keeps them; if it does not, that call quietly returns completed ones, so check `is_complete` on each response. 3. If a condition was named, such as "September only" or "only people who chose the premium option", build a slice: dates in `get_quiz_report`, answers and tags in `generate_filtered_report`. Dates, answers and tags apply only when the plan includes results filters; otherwise the report covers everything and does not say so. Check `get_workspace_tariff` (the `workspace_id` comes from `get_workspace_list`) or compare the totals with the summary. For "only from the link I sent by email", check how that link was marked: a set of unique links filters directly, on any plan. A link label such as `utm_source` is in the `extra_fields` of each response from `get_quiz_answers`: count the responses with that value there. No tool builds the whole report for one label value; in the app that is the Hidden Variables filter in Results. 4. Open answers: `get_quiz_report_inputs` with the `report_uuid` from the report and the question's `widget_id` and `widget_hash` from `get_quiz_structure`. It returns 50 answers per page: page with `offset` to read them all. The texts follow the report filters saved in the app, not the slice built here. 5. Export a file only if a file was asked for. The link lives for one hour. ## How to answer - **Conclusion first, numbers second.** Not "question 3 has this distribution" but "two thirds are unhappy with turnaround times, here is the breakdown". - **Always name the base** for a percentage: all submissions or completed ones. - **Do not present conclusions from ten responses as fact.** - **Do not retell free text one by one.** Group it into themes with a couple of representative quotes. ## What not to do - **Do not export a file unasked.** Chat needs numbers, not a download link. - **Do not recompute by hand** what the summary or the report already provides. - **Do not mix completed and abandoned** in one figure without saying so. - **Do not suggest a plan upgrade or lead to payment.** If a limit is hit or a feature is not on the plan, state the fact and stop.

surveyninja-results-sharing

Prepares SurveyNinja survey results for handing to someone else: a

# Handing over results Survey results are read by more people than those who built the survey. A client, a manager or a colleague does not need access to the account. They need a finished thing: a link or a file. Reply to the person in the language they write in. ## Ask what exactly is needed first These are four different things, and mixing them up is expensive: | What they ask for | What to hand over | Tool | |---|---|---| | "Show me the results", figures per question | the summary | `share_summary_link`, `export_summary_pdf` | | A report with breakdowns, by period or filter | the report | `share_report_link`, `export_filtered_report_pdf`, `export_filtered_report_word` | | Individual completions, who answered what | the responses | `share_answers_link`, `export_answers_xlsx` | | Text with conclusions rather than tables | the AI report | `get_ai_report`, `generate_ai_report`, `share_ai_report` | If the request does not make it clear, ask one question. If the survey is named in words, find it with `get_quiz_list` and confirm it is the right one. ## Link or file **A link** always shows fresh data and has no expiry. A link to the summary, the report or the responses stops opening when it is switched off with `set_share_link_active` (`get_share_links` lists one section's links, `summary`, `report` or `answers`, with their `uuid`) or when the survey is archived or deleted. The AI report link cannot be switched off: only archiving or deleting the survey closes it, so say that before sharing it. A link suits a survey that is still collecting and a client who will come back more than once. **A file** freezes the state at export time. It suits a report "as of a date" or a recipient who must not see what arrives later. Download links live for an hour: say so. ## Check before handing anything outside 1. **Are there contacts in the survey?** Call `get_quiz_structure`. If there is a phone, email or name question, a public link to the *responses* shows them to anyone who has the link. Offer the summary or the report instead; if responses are really needed, ask whether they should leave the team at all. 2. **Period and scope.** The summary link takes a date range. The responses link takes a date range and the completion status (`is_complete`). The report link takes the completion status and otherwise keeps the report filters saved in the app. Ask whether abandoned completions are wanted: for a client, usually not. 3. **Saved filter.** If the report already has a configured slice (`get_quiz_report_filters`), hand that over instead of building a new one. ## The AI report In the app it is called Smart Analytics. Read what already exists with `get_ai_report` first. It returns the report the author sees in the results section, with the state of each of its three sections: text analysis, comparative and quantitative. Building a report for a new survey counts against a plan limit, and rebuilding an existing one does not. If there is no report yet, `generate_ai_report` builds all three sections or one `section`, in the language given by `locale`. It is not instant: warn first, then fetch the result with `get_ai_report`. Hand it out with `share_ai_report` as a public link or as a PDF. The survey must be published, because the report page lives at its address. Do not build an AI report on a handful of answers. The tool refuses below its minimum, and a dozen answers give conclusions that sound confident and rest on nothing. Say the data is thin. If Smart Analytics is not on the person's plan, the tool says so. State it and offer the summary, the report or the responses instead. ## What to say at the end What exactly was handed over (summary, report, responses, AI report), for which period, with which filters, and whether it is a link that stays open or a file whose download link lives an hour. If a link was handed over, remind them it is public: anyone who has it sees the results until it is switched off, and an AI report link until the survey is archived or deleted. That matters most when the responses hold contacts. When the person asks to close a summary, report or responses link, find it in `get_share_links` for that section and switch it off with `set_share_link_active`. ## What not to do - **Do not share responses with contacts via a public link** without asking directly. - **Do not export a file when a link was asked for**, or the other way round. They are different things. - **Do not build an AI report silently.** It takes a while and counts against the plan limit, so warn first and read the existing report before building a new one. - **Do not suggest a plan upgrade or lead to payment.** If a limit is hit, state the fact and stop.

surveyninja-sample-size

Estimates how many responses a SurveyNinja survey needs and whether

# How many responses you need Two questions come up constantly: "can we draw conclusions yet?" and "how much longer?". Both are settled in one conversation. Reply to the person in the language they write in. ## What to ask 1. **How large the audience is** that the conclusion is about: a hundred customers or a hundred thousand. A small audience needs a small sample. 2. **What decision the results serve.** "Get a feel for the mood" and "choose between two options" need different precision. 3. **Whether conclusions are needed per group.** Breaking down by city or segment multiplies the requirement. ## Estimate `get_quiz_summary` — how many completed responses there are in total. It has no breakdown by group. For counts per city or segment, take the question that defines the group in `get_quiz_report`: it shows how many chose each option, over completed responses only. A slice by that answer is `generate_filtered_report` (not on every plan). If no question defines the group, ask the person how many fall into each. Practical anchors for the conversation: | Goal | Order of responses needed | |---|---| | Get a general sense | 30–50 | | State shares to about 10% | ~100 | | Precision around 5% | ~400 | | Compare two groups | 100+ in each | | Break down by five segments | 100 per segment, so 500+ | These are conversation anchors, not a formal calculation. If a formal estimate is needed, say the numbers are approximate and what they depend on, and point to the free calculators on the SurveyNinja site: https://surveyninja.io/tools/sample-size-calculator, https://surveyninja.io/tools/margin-of-error-calculator and, for two groups, https://surveyninja.io/tools/min-sample-compare-calculator. ## How to answer - **Enough collected:** say it plainly, collection can stop. - **Not enough:** say how much more is needed and warn that conclusions may reverse. - **Enough overall but not per breakdown:** the most common case. State which conclusions are already sound and which are not. ## What not to do - **Do not demand representativeness** where a quick internal decision is being made. - **Do not stay silent about a small sample** when plans are being built on it. - **Do not count abandoned responses** toward the collected volume. - **Do not suggest a plan upgrade or lead to payment.** If a limit is hit, state the fact and stop.

surveyninja-source-dashboard

Compares where SurveyNinja survey respondents came from and which

# Where they came from and what it gave A survey is usually shared in several places at once. Responses can be split by channel only if each channel got its own set of unique links or its own link with a source label. Reply to the person in the language they write in. ## Check there is something to compare - `manage_quiz_unique_links` with `list_groups`: whether the channels got their own sets of unique links. - `get_quiz_variables`: the link variables set up in the survey. A source label is usually one of them, such as `source` or `utm_source`. A label is saved with the response even when no variable was set up for it, so also look at `extra_fields` in a few responses from `get_quiz_answers`, or ask which parameter the links carried. - `get_answer_extra_field_values` with that name as `key` lists the values that arrived. It is not on every plan; the `extra_fields` of responses show the same on any plan. If there are neither unique links nor labels, there is nothing to compare: **they cannot be added retroactively**. Say so plainly and suggest giving each channel its own link next time. Visits that Google Analytics or Meta Pixel count for the survey stay in those services and are not visible through these tools. This breakdown comes only from unique links and labels on responses; for traffic numbers, the person reads their analytics. ## Collect Per channel you need: how many arrived, how many finished, and the target metric (contacts, average rating, whatever matters here). Count them from `get_quiz_answers`, paged with `offset` (up to 100 per page): each response carries its `extra_fields` (the labels) and its `unique_link`, and `unique_link_group_id` narrows the list to one set of unique links. Read `is_complete` true, then false, and group the responses by label or link yourself. `answer_total_count` is the total for the whole survey, not for the filtered list: count the responses you received. Unfinished responses are kept only if the plan keeps them. Without that, `is_complete` false quietly returns completed ones: check `is_complete` on each response, and if there are no unfinished ones, say that completion per channel cannot be measured. The target metric comes from the answers inside those responses. For unique links there is also `generate_filtered_report` with `unique_link_group_id` (and `unique_link_ids` for single links): the same report per channel, completed responses only. No tool builds the report for one label value; in the app that is the Hidden Variables filter in Results. ## How to present A table by channel, sorted by what matters to the person: channel, responses, completion share, target metric. Below it, three conclusions: - **Where the most responses came from.** Obvious, and the least useful. - **Where completion is best.** A channel can bring few people but good ones. - **Where responses are worse.** Sometimes the cause is the promise in the ad rather than the channel: the wrong people arrived. ## Worth stating - **Volume and quality are different things.** A thousand people at five percent completion is worse than a hundred at fifty. - **Do not compare small channels head-on with large ones**: at twenty responses the share jumps around. - **Responses with no label** deserve their own row instead of "other": usually direct visits or a label lost when the link was forwarded. ## What not to do - **Do not infer the channel from arrival time.** No label means no answer. - **Do not advise switching a channel off** after a single run. - **Do not suggest a plan upgrade or lead to payment.** If a limit is hit, state the fact and stop.

surveyninja-survey-copy

Rewrites the copy of a SurveyNinja survey so that people finish it:

# Rewriting so people finish People rarely abandon a survey because it is long. They abandon it at the question where they stop seeing what is in it for them. Fixing the copy often helps more than cutting questions. Reply to the person in the language they write in. Write the survey copy in the language of its audience. ## Start from data, not taste `get_quiz_answers` with `is_complete` set to false lists unfinished responses, up to 100 per page (page with `offset`): note the last question each one answered and find where most of them stop. The report does not show this: it holds completed responses only. Fix those questions first, not the ones that merely look wrong. Incomplete responses are not saved on every plan, and then the same call quietly returns completed ones: check `is_complete` on each response. If there are no unfinished ones, say why: either there are no responses yet or the plan does not keep unfinished ones. Then edit by general rules and suggest looking at behavior once responses come in. Question wording, the welcome and thank-you screens are widget fields: read them with `get_quiz_structure`, write them with `update_quiz_widgets`. Button labels and other interface strings come from `get_quiz_texts` and are saved by their `code` with `update_quiz_texts`. ## What to fix | Problem | How it looks | Better | |---|---|---| | Formal, bureaucratic tone | "Please rate your level of satisfaction with the services rendered" | "How happy are you with the work?" | | Double question | "Were the price and the timing right?" | two separate questions | | Double negative | "Do you disagree that we should not…" | a direct question | | Internal jargon | "Rate the front office" | "Rate the staff at the front desk" | | Leading question | "How much did you enjoy our excellent service?" | "How was our service?" | | Question without bounds | "How often do you visit?" as open text | options: weekly, monthly, less often | ## The first screen This is where most people are lost. It needs three things: **what is being asked**, **how long it takes**, and **why the person should care**. The last one is usually missing, and it is the one that decides. "Customer satisfaction survey" is weak. "Three questions about your visit. Your answers help us cut waiting times" works. ## Buttons and thank-you Default labels work, but a human label on the last step helps completion. The thank-you screen is the place to say what happens next ("We read every answer this week"). ## Order of work 1. Show the proposed edits: before and after, question by question. 2. Wait for agreement. 3. Write. 4. Widget edits land in the draft: respondents see them only after `publish_quiz`. Ask before publishing. Interface strings saved with `update_quiz_texts` reach the live survey at once. Do not rewrite everything silently: copy is often agreed with a client or a legal team. ## What not to do - **Do not change the meaning of a question** for the sake of nicer wording: comparability with earlier responses breaks. - **Do not edit copy of a survey already collecting responses without warning**: answers before and after the edit stop being comparable. - **Do not add or remove questions.** That is different work. - **Do not suggest a plan upgrade or lead to payment.** If a limit is hit, state the fact and stop.

surveyninja-survey-distribution

Prepares a SurveyNinja survey for distribution: the link address, a

# Distributing the survey The survey is ready; the question now is how people receive it and how you later tell where they came from. Reply to the person in the language they write in. ## The link Check the survey is published first (`get_quiz_versions` shows the publication history). An unpublished survey does not open by its link. `set_quiz_link` sets the address the survey opens at. A short, meaningful address is easier to remember and looks safer in a message. A custom address is not on every plan. **Channel labels matter most here.** If the survey goes to several places, such as an email list, social posts, a WhatsApp group and a website banner, add a label to the link for each one: `?source=newsletter`, `?source=whatsapp`. SurveyNinja saves the label with each answer as a hidden variable, so the responses can be split later. Without labels everything merges and there is no way to tell what worked. Each response from `get_quiz_answers` carries its labels in `extra_fields`. A label is saved with the response even if no variable was set up for it. Only logic needs the variable itself (`get_quiz_variables`, `create_quiz_variable`), and hidden variables in logic are not on every plan. Suggest labels up front, not after the send-out: they cannot be added to responses that already came in. ## QR code `manage_quiz_qr_code` for print: a table sticker, a conference slide, a flyer. Format (PNG, SVG or EPS), size, color and background can be set. A logo in the centre is uploaded in the app; an already uploaded one is included. The code always leads to the survey's plain published address: it takes no label, so responses from print arrive without one. Verify the code opens the right page **before** printing a run. ## Restricted survey Passwords close a survey that is not for everyone; different groups can get different passwords. The password check itself is switched on with `use_password` in `update_quiz_settings`. - Connected by API key: `manage_quiz_passwords` adds them, up to fifty per call; for more, make several passes. Passwords are stored in a form that cannot be read back, so hand the list to the person when you create it. - Connected with "Allow access" (the sign-in Claude, ChatGPT and other assistant apps use), passwords never pass through the chat. The person adds them in the app: Survey, Settings, Identification and access, Access by password, "+ Add password", then publishes the survey. `manage_quiz_passwords` then only lists and deletes them. Do not invent passwords, ask for them or take ones typed into the chat then: you have nowhere to enter them. `manage_quiz_unique_links` makes a separate address per department, branch, partner or person, each with its own answer limit; answers remember which link was used. Not on every plan. ## Printable version `export_quiz_print` gives the survey as PDF, Word, HTML or plain text, optionally with a QR code to the online version. Useful when the survey is filled in on paper or the wording is approved with a client before launch. The download link works for one hour. ## Order when asked "how do I send this out" 1. Check the survey is published. 2. Agree on labels for the channels named. 3. Hand over one labeled link per channel. 4. Add a QR code if there is a print channel. 5. Mention that responses can be split by channel later, by their labels. ## What not to do - **Do not publish the survey unasked**, even if it is clearly ready. - **Do not change the address of a survey already sent out** without warning. SurveyNinja redirects the old address to the new one, but only until another survey takes the old address, and printed QR codes depend on that redirect. - **Do not suggest a plan upgrade or lead to payment.** If a limit is hit or a feature is not on the plan, state the fact and stop.

surveyninja-survey-from-brief

Builds a ready-to-use survey in SurveyNinja from a plain-language brief.

# Building a survey from a brief Someone describes the job in words: "I need a survey for our repair shop customers, to rate the work and collect contacts for a follow-up visit". Turn that into a working survey in their account, not a list of questions in chat. Reply to the person in the language they write in. Write the survey texts in the language of their audience, not the language of this instruction. ## 1. Ask three things if they were not given Who is being asked, what decision the results serve, where the link will live. No more than three questions: everything else is faster to show as a draft and fix from feedback. Do not ask about question types, styling or order. Choosing them is the assistant's job. ## 2. Check for something ready-made `search_quiz_templates` by topic, with `lang` set to the audience's language: the catalog is in English, Spanish and Portuguese. If nothing fits, search in `en` and translate. If a suitable template exists, offer to start from it with `create_quiz_from_template` and edit from there: it is faster and usually better than building from scratch. The choice stays with the person. ## 3. Create the survey and build the questions `create_quiz`, then `update_quiz_widgets`. A survey is created inside a folder, so start with `get_folder_list` and pick the one to use. If there are several and the person did not say which, ask instead of choosing for them. Choosing types is the core of the work and where mistakes happen: | What you need | Type | Why not otherwise | |---|---|---| | Quality rating | `rating` or `scale` | not `input` with a number: free text cannot be summarized | | Likelihood to recommend | `nps` | its own 0–10 scale and its own analytics | | One choice from a short list | `choice` | not `input`: free text cannot be grouped in a report | | Several choices | `choice` with multiple selection | | | One choice from a long list | `dropdown` | a long list of buttons is hard to scan | | Name | `fio` | its own fields; switch the middle-name field off for most audiences | | Phone, email | `phone`, `email` | format checks; otherwise half the contacts are unusable | | Date and time | `datetime` | not text: otherwise it cannot be filtered or sorted | | Several ratings on one set of criteria | `matrix` | instead of ten separate questions | | File or photo | `file` | | | Numeric answer | `number` | | | Yes or no | `yesno` | | | Put in order | `ranking` | | Start the survey with a `welcome` screen. The last widget is always `submit`; add a `finish` thank-you screen before it so the respondent sees what happens next instead of a bare confirmation. Make required only the contacts the survey exists for. Every extra required question costs responses. Set the phone question's default country to the audience's country, not a guess. The full list of types and their fields is in `references/widget-types.md`. ## 4. Texts and styling Headings and the thank-you text are fields of the `welcome` and `finish` widgets: write them with `update_quiz_widgets`. Button labels and other interface strings go through `update_quiz_texts`, by their `code` from `get_quiz_texts`. Write in the plain language of the audience. `get_theme_list` and `apply_quiz_theme`: take an existing theme. Create a new one only if brand colors are explicitly requested. ## 5. Branching `update_quiz_logic`, if the brief implies branches: "unhappy customers get a why question", "did not use the service, so skip the quality block". The order is strict: `get_quiz_structure` first, then edit, then write. Conditions reference questions by identifier, and logic built blind leads respondents into a dead end. ## 6. Show the draft, then publish `publish_quiz` **only after the person agrees**. Until it is published the survey does not open by its link, and that is the right state for review. After publishing, hand over the link and briefly list what came out: how many questions, which are required, whether there is branching. ## What not to do - **Do not publish unasked.** A published survey can already be taken, and edits after the first responses break comparability. - **Do not invent filler questions.** Long surveys are abandoned. - **Do not make everything required.** - **Do not suggest a plan upgrade or lead to payment.** If a limit is reached or a question type is not on the plan, state the fact and stop. - **Do not delete or rewrite existing surveys** when asked to make a new one. ## If the brief is large For long briefs there is `generate_ai_quiz`: the whole build runs in the background. It returns the id of a survey that stays empty until the build is done, not a finished survey. Call `generate_ai_quiz` again with that `quiz_id` to see whether it is pending or ready, show the result, then edit with the usual tools.

surveyninja-survey-logic

Configures question display logic in a SurveyNinja survey: branching,

# Branching and routing Logic is where surveys break silently: a condition references a question by identifier, and a branch built blind leads the respondent into a dead end with no way out. Reply to the person in the language they write in. ## The order is strict 1. `get_quiz_structure`: read the current state and the question identifiers. 2. Build the change against what actually exists. 3. `update_quiz_logic`: write. 4. The edit lands in the draft. Respondents get it only after `publish_quiz`, and publishing waits for the person's go-ahead. The first step cannot be skipped. Identifiers cannot be guessed, and logic that points at a question that does not exist is rejected on save (`widget_missing` and similar errors). ## What can be built - **Branch on an answer.** "Rated below four: ask why." - **Show or hide a question.** "Ask about delivery only if they ordered online." - **Skip a block.** "Did not use the service: do not ask about its quality." - **Screen out.** A respondent who does not fit belongs on a `screenout` screen, not driven to the end and cleaned up afterwards. - **Quotas.** Once a group is full, stop admitting it. - **Branch on a link label.** A value passed in the survey link (a hidden variable) can drive a condition. Hidden variables are not on every plan: if they are not available, say so and stop. ## Rules people trip over - **Every branch needs an exit**, to the next block or to the end of the survey. - **A condition on "Other"** matches the option, not the text typed into it. - **The operator must fit the question type.** Greater and less than are for numbers and scales, not for text or choices. - **Order matters**: conditions are checked top to bottom and the first match wins. - **A branch must not lead back** to an already answered question, or the respondent ends up in a loop. ## After the edit Walk the route by eye: from the first question along every branch to the end. If there are more than three or four branches, describe the map in words: who ends up where. Then ask whether to publish: until then respondents still follow the old route. ## What not to do - **Do not write logic without reading the structure.** - **Do not change the question set in the same edit.** When something breaks, it becomes unclear which change caused it. - **Do not build branching where one question with options is enough.** - **Do not suggest a plan upgrade or lead to payment.** If a limit is hit, state the fact and stop.

surveyninja-survey-timeline

Shows the history of a SurveyNinja survey over time: when it was

# Survey timeline "Why did responses stop" is answered by lining up two things: how responses came in and what was done to the survey. Reply to the person in the language they write in. ## Two lines **Responses over time:** `get_quiz_summary` gives responses per day (completed, unfinished and screened out) and visits per day. Group them by week if collection ran long. Unfinished ones are there only if the plan keeps them. **Edit history:** `get_quiz_versions`. Every publication leaves a snapshot, so it is visible when the survey changed and which version was live at each moment. ## Line them up Find matches by date: - **A drop right after a publication:** something was broken by an edit, such as a logic branch, a required field or the link address. - **A drop with no edits:** an outside cause. The email campaign or ad ended, the banner came down, the event finished. - **A spike** is also useful: understand what worked and repeat it. - **A steady decline** is normal decay: the audience the link reached ran out. ## Check separately If the drop is sharp and goes to zero, check whether the survey was unpublished or closed. An unpublished or closed survey stops accepting responses immediately, which from the outside looks exactly like people no longer answering. Check whether the account has reached its monthly response limit with `get_workspace_tariff` (the `workspace_id` comes from `get_workspace_list`). Past the limit, new responses are still saved but hidden: they do not appear in the summary, the report or the responses and are not sent to integrations, so it looks as if people stopped answering. If so, state that as a fact and stop there. If the person watches responses somewhere else (Google Sheets, a webhook, Telegram) and those stopped, check `get_quiz_integrations` as well: a broken connection looks the same from outside while responses keep arriving in SurveyNinja. ## How to present Briefly and by date: period, what happened, what it lines up with. A few anchor points instead of a forty-row table. One sentence of conclusion: "responses stopped on this date, apparently because of that". If no link is found, say so rather than inventing one. ## What not to do - **Do not pass a date coincidence off as a cause** when the edit could not have affected it. - **Do not compare weekdays with weekends** without noting it: most surveys have a weekly rhythm. - **Do not suggest a plan upgrade or lead to payment.** If a limit is hit, state the fact and stop.

surveyninja-webhook-setup

Sets up delivery of SurveyNinja survey responses to an external URL via

# Webhook: responses to your own address A webhook is the most direct way to get responses into your own system: every response goes out as an HTTP request to the given address. It is quick to set up and quiet when it breaks, so order matters more than speed here. Reply to the person in the language they write in. ## 1. Check that webhooks are available `get_workspace_tariff` (the `workspace_id` comes from `get_workspace_list`): webhooks are not part of every plan. If they are not available, say so right away and stop. Creating and switching on a webhook check the plan too, but collecting the address, method, fields and headers only to hit a refusal at the last step wastes the conversation. If the target is Zapier, a webhook is not needed: SurveyNinja has a Zapier integration. The zap is built in Zapier, and `manage_quiz_zapier` shows whether sending is on and switches it. ## 2. See what already exists `get_quiz_webhooks` lists the survey's webhooks, whether each is on, and whether one switched itself off after a run of failed deliveries. A second webhook to the same address is almost always a mistake, not a wish: check before creating. ## 3. Find out four things Nothing can be created without them: | What | Why | |---|---| | **Address** | where to send; a public `http` or `https` address (internal addresses are rejected), and the receiver must answer 2xx | | **Method** | `post` almost always; `get`, `put`, `patch` if the receiver demands it | | **Which fields** | a contact and two or three key answers beat the whole questionnaire and are easier for the receiver | | **Field names** | if the system expects `phone` and the question is "Your phone", rename it with `body_naming` | Question names and identifiers come from `get_quiz_structure`. ## 4. Create and switch on Who creates the webhook depends on how the assistant is connected. A webhook sends every response to an outside address, so on an "Allow access" connection (the sign-in Claude, ChatGPT and other assistant apps use) the server does not offer `create_quiz_webhook` and `update_quiz_webhook`: text inside a respondent's answer must not be able to send everyone's responses elsewhere. If these tools are not in your list, that is the reason. Do not look for a way around it. **Connected by API key**: `create_quiz_webhook` with a title (for the person, to tell webhooks apart), address, method, fields (`body`), renaming (`body_naming`) and headers (`headers`, where the receiver's access keys go). **Connected with "Allow access"**: the person creates it in the app, and you give them the values from step 3 ready to enter. Open the survey, the Integrations tab, Webhook, then Create a Webhook. Name of the Webhook is the title, Call Back URL the address, Request Type the method. Custom Header holds the receiver's keys, which the person types in themselves. In Elements every question is selected; a click leaves one out. Parameter names renames the fields. Then Save. `get_quiz_webhooks` shows the new webhook, and from here the two ways are the same. **Unfinished responses**: `incomplete` and `hours`, or Send incomplete responses and Send every in the app. By default only finished ones are sent. If abandoned ones are wanted too, send them with a delay of 1, 6, 12 or 24 hours; otherwise a person who comes back to finish arrives twice. **A new webhook is created switched off.** Tell the person, and once they confirm the receiver is ready, turn it on with `toggle_quiz_webhook`. ## 5. Verify delivery After the first response, read `get_quiz_webhook_logs`: the receiver's response code and body. `200` means it works. `4xx` means the receiver rejected it, usually because of the address, the method or the body format. `5xx` is an error on their side. An empty log means no responses yet, which is not an error. Do not resend with `resend_quiz_webhook_log` while the receiver answers with an error: the same thing will happen again. Once it is fixed, resend one entry by `log_id` or every entry over a period. ## Change, disable, delete - Fix the address or fields with `update_quiz_webhook`. Fields you do not pass keep their values, so send only what changes. **`headers` is replaced as a whole list**, and header values come back masked: to change one header, ask the person for the others again, or leave `headers` out entirely. On "Allow access" the person changes it in the app: Edit in the menu next to the webhook in the Webhooks list. - A webhook that switched itself off after failures comes back on with `toggle_quiz_webhook`, once the receiver is fixed. - To pause while they fix their side, switch it off with `toggle_quiz_webhook` rather than deleting it. - Delete with `delete_quiz_webhook` only on a direct request: the settings, headers and delivery log are gone for good. ## What not to do - **Do not create a second webhook to the same address** without asking. - **Do not send every question** when there are many. The receiver needs the right fields. - **Do not ask the person to dictate access keys into the chat.** Ask them to put the keys into the webhook headers in the app, or insert only what they sent themselves. - **Do not enable a webhook that was disabled on purpose.** - **Do not suggest a plan upgrade or lead to payment.** If a limit is hit, state the fact and stop.

surveyninja-workspace-access

Manages SurveyNinja account members and their permissions:

# People and access Permission mistakes are quiet: a member simply does not see part of the surveys and assumes they do not exist, or sees things not meant for them. Reply to the person in the language they write in. The tools and the app name things differently. What the tools call a workspace is the **account** in the app; what they call folders are **workspaces** in the app (the role editor still says folders). Talk to the person in the app's words. ## See the current picture first Start with `get_workspace_list` to get the account's `workspace_id`: every tool below asks for it. Workspaces, if needed, come from `get_folder_list`. - `get_workspace_members`: who is in the account, with which role, whether the invitation was accepted, which workspaces they have. - `get_workspace_member_access`: what one member can actually do, the same check the system runs when it refuses an action. It shows the role, the workspaces, per-workspace overrides, and a `blocked` reason when the member cannot work at all. - `get_workspace_roles`: which roles exist, what each allows, and how many members are on each. Start here. "Give Peter access" without the current picture usually gives Peter more than intended. ## Invite and configure | Task | Tool | |---|---| | Invite | `invite_workspace_member` | | Resend the invitation | `resend_workspace_member_invite` | | Change a member's role | `set_workspace_member_role` | | Set the whole workspace list of one member | `set_workspace_member_folders` | | Grant or revoke one workspace for one member | `manage_folder_access` | | Remove a member | `remove_workspace_member` | | Create or edit a role, delete a role | `save_workspace_role`, `delete_workspace_role` | `set_workspace_member_folders` replaces the whole list: pass three workspaces and the member sees exactly those. For a single change use `manage_folder_access`. An empty list in either the invitation or the workspace list opens every workspace. ## Why "I added them and they see nothing" 1. **The invitation was not accepted.** Until the link from the letter is opened, the person is listed but has no access. `resend_workspace_member_invite` helps when the letter was lost or the link expired. 2. **The email is not confirmed.** The member joined but never confirmed their address, so every action is refused. Only they can fix it, from their own letter. 3. **No workspaces.** Access to surveys rests on workspaces: a member without workspaces sees an empty survey list. 4. **A new workspace.** A workspace created later is open only to the account owner and the person who created it. Other members need it granted. 5. **A per-workspace override.** The role allows something in general, but inside one workspace it is forbidden. `get_workspace_member_access` shows which of these it is. ## Choosing permissions Ask what the person needs to do, not which role to give: - View results only: a role that allows viewing reports and forbids editing, plus the relevant workspaces. - Build surveys: add editing, not necessarily deletion of surveys or responses. - Configure integrations: a separate permission. Without it they do not see where responses are sent. - Full access: only for people who actually administer the account. A permission can be Allowed, Forbidden or Own only (`partially` in the tools), which limits the member to the surveys, workspaces or themes they created themselves. A change to a role applies at once to every member on it. To change one person, move them to another role instead of editing a shared one. Role setup and the number of members depend on the plan: if a tool refuses, say so. ## What not to do - **Do not remove a member without an explicit request**: access comes back only through a new invitation, and workspaces have to be assigned again. Their surveys stay in the account. - **Do not grant full access "to be safe"**: the most common way to over-share. - **Do not edit a shared role to fix one person**: everyone on that role changes too. - **Do not delete a role in use** without checking who is on it: its members move to the default role and their permissions change. - **Do not suggest a plan upgrade or lead to payment.** If a limit is hit, state the fact and stop.

surveyninja-workspace-housekeeping

Tidies up a SurveyNinja account: sorts surveys into workspaces

# Tidying up the account Accounts get overgrown: a hundred surveys in one workspace, finished ones next to live ones, year-old drafts. Most of the tidying can be undone. A few steps cannot, and those have to be known in advance. Reply to the person in the language they write in. The tools and the app name things differently. What the tools call a workspace is the **account** in the app; what they call folders are **workspaces** in the app. Talk to the person in the app's words. ## Picture first, actions second `get_workspace_list` gives the account's `workspace_id` that almost every tool below needs. `get_folder_list` and `get_quiz_list` show what is where. If the person asks to "tidy up" in general, first show the list of what is proposed for each survey and get agreement. A health check (what is abandoned, where storage is running out) is a separate skill; this one does the work. ## What does what | Task | Tool | Reversible? | |---|---|---| | New workspace | `create_folder` | yes | | Rename a workspace, delete it, change the order | `manage_workspace_folder` | delete: no | | Move a survey to another workspace | `move_quiz` | yes | | Rename a survey | `rename_quiz` | yes | | Internal note on a survey | `update_quiz_note` | yes | | Archive and bring back | `archive_quiz` | yes | | Copy a survey | `duplicate_quiz` | yes | | Make a template | `make_quiz_template` | no undo through these tools | | The account's own templates | `get_workspace_templates` | read only | | Move to the trash | `delete_quiz` | can be restored | | Restore from the trash | `restore_quiz` | yes | | Account files: overview, list, delete | `manage_workspace_files` | delete: no | ## Three levels of "remove" 1. **Archive.** The survey stops accepting responses, leaves the main list, and its public report links stop opening, but everything is kept. Archived surveys do not count against the survey limit. For finished surveys this is the right answer. 2. **Trash.** The survey is removed; `restore_quiz` brings it back with its questions, logic and responses. For drafts and duplicates. A restored survey takes a slot in the survey limit again. 3. **Permanent.** Deleting a workspace that has surveys in it deletes every survey inside together with its responses, and deleting files cannot be undone. Both need a separate confirmation flag. Offer them last. A finished survey with responses goes to the archive, not the trash: the responses will be useful for comparing with the next wave. ## A new wave of a survey Do not edit last time's survey. Copy it with `duplicate_quiz` into the right workspace under a new name, so the previous wave's responses stay untouched and comparable. If the survey runs regularly, `make_quiz_template` turns it into a template for the next waves; ask first, because the template cannot be removed through these tools. ## Workspaces and colleagues A new workspace is open only to the account owner and to the person who created it. If colleagues need it, say so and hand over to access management; do not leave them looking at a list without the moved surveys. Two workspaces cannot share a name, and the main workspace cannot be deleted. ## Files `manage_workspace_files` with `overview` shows how much is used and by which surveys; `list` shows the files themselves, filtered by survey and type. Delete only on a direct request and only what was shown to the person as a list: a respondent's file is attached to their response and cannot be recovered. ## What not to do - **Do not delete permanently without explicit agreement** on a specific list. - **Do not archive a survey that is still collecting responses**: it will stop accepting them. Check recent responses in `get_quiz_summary` first. - **Do not rename or move other people's surveys** in a shared workspace without asking: colleagues look for them by the old names and in the old workspaces. - **Do not suggest a plan upgrade or lead to payment.** If a limit is hit, state the fact and stop.