# Pipeline-Stage Meta CAPI & Google Offline Conversion Prompt

Source: Daniel Hallman (https://danielhallman.com/prompts/capi-offline-attribution.md)
Companion Skill: https://danielhallman.com/skills/ghl-capi-attribution/SKILL.md

## Prompt for Claude or ChatGPT (Official Hosted MCP v2)

```text
Inspect GoHighLevel sub-account [LOCATION_ID] using Official MCP v2 (pipelines.readonly, opportunities.readonly, contacts.readonly, workflows.readonly, locations/customFields.readonly).

1. List all pipelines and exact stage names/IDs.
2. Sample 10 recent ad-sourced contacts and check whether fbclid, fbc, fbp, and gclid fields are populated.
3. Inspect existing workflows for Meta Conversions API or Google Offline Conversion actions.
4. Draft a clean workflow blueprint triggered on Opportunity Stage Changed:
   - Exclude contacts tagged "spam" or "unqualified".
   - Branch 1: Stage = "Appointment Booked" -> Fire Meta CAPI Schedule + Google Ads Offline Conversion.
   - Branch 2: Stage = "Job Won" -> Fire Meta CAPI Purchase with {{opportunity.lead_value}} + Google Ads Offline Conversion.
5. List any missing custom fields or integration checks required before publishing.
```
