growsurf_troubleshoot_referral_tracking
Diagnose referral tracking problems: returns ordered checks, likely causes, fixes, and doc links for uncredited referrals, missing participant emails, unrewarded referrals, and integration sync issues.
Instructions
Call first for a program problem, even without a program or participant ID. It returns initial checks; ask for IDs before reading records. Covers referrals not credited, participant emails not sending, rewards not issued, participants not added, Universal Code not detected, an integration or CRM (HubSpot, Mailchimp, and others) not syncing, Zapier errors, fraud flags, analytics numbers that look wrong, and more. Returns the checks to run in order (with the read tool and field for each), the likely causes most common first, fixes, and doc links. Pass a symptom key; unknown keys return the available symptoms; a description is matched only when it contains a symptom's label or alias verbatim, otherwise the symptom list is returned.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symptom | No | The symptom to diagnose. Known keys: `participant_emails_not_sending`, `reward_not_issued`, `referral_not_credited`, `participants_not_added`, `universal_code_not_detected`, `platform_specific_install`, `numbers_do_not_match`. Unknown keys return the symptom list. | |
| campaignId | No | Target program (campaign) id for this call. Defaults to GROWSURF_CAMPAIGN_ID when omitted. Pass the `id` returned by growsurf_create_campaign to configure or operate a program you just created, without restarting the server. | |
| description | No | The problem in the customer's words, when `symptom` is unknown. | |
| participantId | No | Affected participant id, echoed into participant-level checks. | |
| participantEmail | No | Affected participant email, when the id is unknown. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| markdown | No | The generated guidance as a markdown document. |