{"id":113079,"plugin_id":"plugin_asdk_app_6ae9f60b56ec81919ebd6a5b6c30b8aa","kind":"skill","collection_source":"plugin_package","comparison_source":null,"observed_at":"2026-11-24T12:13:22.864Z","digest":"2232acfd94577fd5c4023dc6717a23cf6908b58588dd5f702c50a1cefad374f0","against":null,"payload":{"description":"Analyses the quality of leads collected by a SurveyNinja survey: how many respondents reached the contact question, how many left a usable email or phone number, where people drop off before the contact, and how leads differ by channel. Use when a survey works as a lead form, quote request or sign-up form and someone asks how many leads it brought, whether the contacts are any good, where leads are lost, or which channel brings better leads.","included_files":[{"relative_path":"agents/openai.yaml","size_in_bytes":1011}],"name":"surveyninja-lead-quality","skill_md_contents":"---\nname: surveyninja-lead-quality\ndescription: \"Analyses the quality of leads collected by a SurveyNinja survey: how\n  many respondents reached the contact question, how many left a usable email or\n  phone number, where people drop off before the contact, and how leads differ by\n  channel. Use when a survey works as a lead form, quote request or sign-up form\n  and someone asks how many leads it brought, whether the contacts are any good,\n  where leads are lost, or which channel brings better leads.\"\n---\n\n# Counting usable leads\n\nWhen a survey works as a lead form, the completion rate says little. What matters\nis how many people left a contact the team can actually reach.\n\nReply to the person in the language they write in.\n\n## Collect\n\n`get_quiz_structure`: find the contact questions (types `phone`, `email`, and\n`fio` for the name) and the question right before the first of them.\n\n`get_quiz_summary`: how many finished (`filled_completely`) and how many started\nbut left (`started_not_finished`). `get_quiz_report` counts the answers to each\nquestion, but only among completed responses.\n\n`get_quiz_answers` with `is_complete` false: the unfinished responses, paged with\n`limit` and `offset`. They show who reached the contact question and left without\nfilling it. They are not kept on every plan (`incomplete_answers` in\n`get_workspace_tariff`, with the `workspace_id` from `get_workspace_list`), and\nwithout them `is_complete` false returns completed responses instead: check the\n`is_complete` field. Then say that the drop-off before the contact cannot be\nmeasured.\n\n`get_quiz_report_inputs`: the values entered in the contact questions, to check\nwhether they are usable. It needs `report_uuid` from `get_quiz_report` and the\nquestion's `widget_id` and `widget_hash` from `get_quiz_structure`, and returns 50\nrows at a time: page with `offset`. Reading the completed responses with\n`get_quiz_answers` page by page works too.\n\nLink labels such as `utm_source`, if the link was shared per channel: each\nresponse from `get_quiz_answers` carries them in `extra_fields`, and\n`get_quiz_variables` lists the label names set up for the survey. Count leads per\nlabel from the responses.\n\n## Compute\n\n1. **Share with a usable contact** out of everyone who started. This is the\n   headline number. Completion can be high while leads are few.\n2. **Where people drop off.** Among the unfinished responses, count those that\n   answered the question before the contact but not the contact itself. They are\n   the people who got there and changed their mind.\n3. **Contact usability.** Count separately:\n   - emails with a broken format, placeholder addresses (`test@test.com`,\n     `a@a.com`, anything at `example.com`) and typos in big mail domains\n     (`gmial.com`, `hotmial.com`);\n   - phone numbers that cannot exist: fewer than 7 or more than 15 digits (the\n     international maximum), one digit repeated, runs like `123456789`;\n   - one-letter names and keyboard mash.\n\n   A lead with a dead email or phone does not count as a lead.\n4. **Duplicates.** The same email or phone several times is one lead.\n5. **By channel**, if labels exist: leads and the usable share per label.\n\n## What usually gets in the way\n\n- **The contact is asked too early**, before the person sees what they get.\n  Move it closer to the end.\n- **Too much is asked.** Email, phone and city at once: every extra field costs\n  leads. Ask for the one channel the team really uses.\n- **No reason given.** One line such as \"we will call to agree on a time\" usually\n  lifts the share more than any design change.\n- **A phone question locked to one country.** When respondents come from several\n  countries, a single default country with the selector hidden turns the others\n  away. Suggest country auto-detection or showing the selector in the phone\n  question settings.\n- **A required contact in an otherwise optional survey**: people leave without\n  answering anything.\n\n## How to present\n\nNumbers first: started, reached the contact question, left a contact, usable, and\nusable as a share of those who started. Then where people drop off and what to\nchange, ordered by payoff.\n\nWith channels, a table plus a conclusion about which channel brings better leads\nin substance, since the biggest channel is often not the best one.\n\n## What not to do\n\n- **Do not count a submission without a contact as a lead.**\n- **Do not paste contacts into the chat**: they belong in an export or in the\n  connected Google Sheets, Zapier or webhook.\n- **Do not advise removing every required field**: a lead without a contact is\n  useless.\n- **Do not suggest a plan upgrade or lead to payment.** If a limit is hit, state\n  the fact and stop.\n"},"changes":[],"summary":"First saved snapshot. No earlier version is available for comparison.","summary_kind":"deterministic","summary_metadata":{}}