{"id":113076,"plugin_id":"plugin_asdk_app_6ae9f60b56ec81919ebd6a5b6c30b8aa","kind":"skill","collection_source":"plugin_package","comparison_source":null,"observed_at":"2026-11-24T12:13:22.787Z","digest":"9a445027fd26d74c0e50b12430f8985602d7fdcbd123e091d2cb176ab7db3478","against":null,"payload":{"description":"Finds why responses to a SurveyNinja survey do not reach an external system, and fixes it. Use when someone reports that responses or leads are not arriving in Telegram, rows are not added to a Google Sheet, a Zap in Zapier does not trigger, a webhook to their CRM or app does not fire, or email notifications stopped, and when they ask to check every integration of a survey and resend what piled up.","included_files":[{"relative_path":"agents/openai.yaml","size_in_bytes":1842},{"relative_path":"references/reasons.md","size_in_bytes":4709}],"name":"surveyninja-integration-triage","skill_md_contents":"---\nname: surveyninja-integration-triage\ndescription: \"Finds why responses to a SurveyNinja survey do not reach an external\n  system, and fixes it. Use when someone reports that responses or leads are not\n  arriving in Telegram, rows are not added to a Google Sheet, a Zap in Zapier does\n  not trigger, a webhook to their CRM or app does not fire, or email notifications\n  stopped, and when they ask to check every integration of a survey and resend what\n  piled up.\"\n---\n\n# Why responses are not leaving the survey\n\nA silent integration has several different causes, each with a different fix. Work\nstrictly in order: every next step costs more than the previous one.\n\nReply to the person in the language they write in.\n\nReasons and log messages are collected in [references/reasons.md](references/reasons.md).\n\n## 1. Get the survey id\n\nNothing can be done without it. If the survey was named in words, find it with\n`get_quiz_list` and confirm it is the right one before changing anything.\n\n## 2. Read the state: `get_quiz_integrations`\n\nIt returns Telegram, Zapier and Google Sheets with a ready-made reason in the\n`blocked` field. This covers most requests and costs nothing. The response also\nlists channels SurveyNinja does not offer; ignore them.\n\n| Reason | Meaning | What to do |\n|---|---|---|\n| `blocked_by_tariff` | not included in the plan | state it plainly and stop, see the rule below |\n| `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 |\n| `disabled` | connected, sending switched off | ask whether that was deliberate; enable only with consent |\n| empty | settings are fine | go to step 3 |\n\nEmail notifications and webhooks are not in this response. They have their own\nchecks, see steps 5 and 6.\n\n## 3. Find the refusal\n\nEach channel shows its cause in a different place.\n\n**Telegram**: `get_integration_logs` with `integration` telegram. The refusal text\nis there (bot removed from the group, chat deleted, topic closed), and the unsent\ncounter shows how much is waiting.\n\n**Google Sheets**: `manage_quiz_google_sheets` with the `show` action. It shows\nwhether access to the Google account is alive, the refresh mode and when the last\nexport happened. Two common causes:\n\n- access to the Google account was revoked, or the table was deleted: the person\n  reconnects the table in the app, because that needs a Google sign-in;\n- nothing is broken, the refresh mode is `scheduled` (once a day) or `manual`, so\n  rows appear later or only on command. Explain it and ask whether to switch to\n  `realtime` with \"set_sync_mode\".\n\n**Zapier**: `manage_quiz_zapier` with the `show` action. It shows whether sending is\non and how many zaps are subscribed. Zero zaps means the zap was deleted or turned\noff on the Zapier side. SurveyNinja keeps no log of what Zapier did next: the run\nhistory is in the person's Zapier account, under the zap's history.\n\n## 4. Resend only after the cause is fixed\n\n- Telegram: `resend_integration_logs`, one entry by `log_id` or every failure over a\n  period.\n- Google Sheets: `manage_quiz_google_sheets` with `sync_now` pushes what piled up.\n  \"export_all\" re-exports every answer; ask where to (a new file, a new sheet, or\n  `replace`, which overwrites the current sheet) before running it.\n- Zapier: once the zap is back on in Zapier, new responses flow again. There is no\n  resend from the survey side.\n\nResending while the cause is alive is pointless: the same refusal repeats and the\nlog fills with noise. The person fixes their side first: returns the bot to the\ngroup, restores access to the table, turns the zap back on.\n\n## 5. Email notifications\n\n`get_quiz_email_settings`: is the notification on, is each address confirmed (the\n`checked` field) and switched on. An address that was added but never confirmed\nreceives nothing, while the settings look complete. That is the most common cause.\nConnected by API key, ask the person for the code from the letter and confirm it with\n`confirm_quiz_email_recipient`. Connected with \"Allow access\" (the sign-in assistant\napps use), that tool is not offered: the person enters the code in the app, on the\nsurvey's Notifications tab, by clicking the address shown in red under Added\naddresses. A recipient or the whole notification switched off\nis turned back on with `toggle_quiz_email_recipient` or `toggle_quiz_email`, after\nasking. If everything is confirmed and on, ask the person to check their spam\nfolder.\n\n## 6. Webhooks separately\n\n`get_quiz_webhooks` lists the webhooks, whether each is on, and whether one switched\nitself off after a run of failed deliveries. `get_quiz_webhook_logs` is the delivery\nlog with the receiver's response code. `resend_quiz_webhook_log` resends after the\nreceiver is fixed, and `toggle_quiz_webhook` turns a self-disabled webhook back on.\n\nHeader values in responses are masked: they hold access keys to someone else's\nsystem. Do not ask the person to read them out, and do not offer to rewrite headers\n\"to test\": passing `headers` to an update replaces the whole list.\n\n## What to say at the end\n\nThree things: which channel is silent, for what exact reason, and what the person\nneeds to do. If the cause was fixed and the backlog resent, say how many went out.\n\n## What not to do\n\n- **Do not suggest a plan upgrade or lead to payment.** When the plan blocks a\n  channel, name the reason and stop.\n- **Do not enable sending yourself.** A disabled integration is often disabled on\n  purpose.\n- **Do not resend \"just in case\".** See step 4.\n- **Do not delete an integration to \"reset\" it.** Deleting Zapier removes its\n  subscriptions, and the zap has to be rebuilt in Zapier; deleting a webhook loses\n  its headers and log.\n"},"changes":[],"summary":"First saved snapshot. No earlier version is available for comparison.","summary_kind":"deterministic","summary_metadata":{}}