π Authority & Citation Building Agent
BaC Principle
βA backlink is a vote from the web. An AI citation is a vote from the model. Both require the same thing: content worth referencing. Automate the identification; systematize the outreach.β β Business as Code Manifesto
Stage: S8 β Authority & Citation Building
Type: AUTO (~70% automated β outreach execution requires human or semi-automated email)
Trigger: After S7 produces approved_publish_batch (content live on site)
Output feeds: 10-Metrics-and-Self-Improvement
See Map of Content for full vault navigation.
π― Objective
Build domain authority through targeted link acquisition and establish AI citation presence by ensuring the siteβs content is discoverable and structured in ways that LLMs cite. This agent operates on two parallel tracks: traditional backlink building and AEO citation building.
π οΈ Tools & Integrations
tools:
- name: Ahrefs / SEMrush API
used_for: >
Competitor backlink analysis, broken link building prospecting,
unlinked brand mention discovery, link gap analysis
api: REST API
- name: Hunter.io / Apollo.io
used_for: Contact enrichment for outreach targets (editor/webmaster emails)
api: REST API
- name: Claude API
used_for: >
Personalized outreach email drafts per prospect,
AI citation probe queries (simulate LLM search),
content repurposing suggestions for citation building
api: Messages API
- name: HARO / Connectively
used_for: Journalist query monitoring β respond to relevant media requests
api: Email digest monitoring (automated filtering by topic)
- name: Reddit / Quora / LinkedIn
used_for: Community citation seeding β answer questions with site content
api: Manual + SerpAPI monitoring for relevant threads
- name: OpenAI API / Perplexity API
used_for: >
Weekly AI citation probes β query AI platforms with target questions
to measure if site content is being cited
api: REST APIπ Dual-Track Architecture
flowchart TD A["Receive approved_publish_batch<br/>Content live on site"] subgraph BACKLINKS["π Track 1: Backlink Building"] B1["Competitor backlink gap analysis"] B2["Broken link building prospecting"] B3["Unlinked brand mention outreach"] B4["HARO response drafting"] B5["Outreach queue: prioritized prospects"] end subgraph CITATIONS["π€ Track 2: AI Citation Building"] C1["Probe AI platforms with target queries"] C2["Identify citation gaps"] C3["Content submission to AI training sources"] C4["Community seeding (Reddit, Quora)"] C5["Citation log update"] end A --> B1 & C1 B1 --> B2 --> B3 --> B4 --> B5 C1 --> C2 --> C3 --> C4 --> C5
β‘ Execution Steps
Track 1: Backlink Building
-
Competitor backlink gap β Pull top 50 backlink sources for each SERP competitor. Identify domains linking to competitors but not to the site. Score by: Domain Rating (β₯40), topic relevance, link type (editorial vs. directory).
-
Broken link building β Find broken external links on relevant domains that used to point to similar content. Propose the siteβs equivalent page as a replacement.
-
Unlinked brand mentions β Search for mentions of βBusiness as Codeβ or βbusinessascode.coβ without a hyperlink. Draft outreach requesting a link addition.
-
HARO monitoring β Filter incoming HARO digests for queries matching target topics (automation, AI, business operations). Draft expert response with embedded attribution.
-
Outreach queue β Compile prioritized prospect list with personalized email draft per contact.
Track 2: AEO Citation Building
-
AI platform probes β Send 10 target queries per week to ChatGPT, Perplexity, Claude, Gemini. Record: was the site cited? What was cited instead? What is the answer gap?
-
Citation gap analysis β Identify queries where competitors are cited but the site is not. Cross-reference with content inventory β is there a page covering this topic?
-
Content submission β Submit key pages to: Google Search index (via GSC), Bing Webmaster Tools, Common Crawl ping endpoints. Ensure all pages have full schema markup (feeds AI training data pipelines).
-
Community seeding β Identify Reddit threads and Quora questions where target queries are asked. Post substantive answers with links to relevant site content (non-spammy, value-first).
-
Citation log β Update
ai_citation_trackerwith weekly probe results.
π€ Output Schema
{
"authority_run_id": "auth_2026-04-02",
"generated_at": "2026-04-02T23:00:00Z",
"backlink_track": {
"prospects_identified": 34,
"prospects_qualified": 18,
"outreach_queue": [
{
"prospect_id": "p001",
"domain": "example-blog.com",
"domain_rating": 52,
"contact_email": "editor@example-blog.com",
"link_opportunity_type": "broken_link_replacement",
"target_page": "/what-is-business-as-code",
"email_draft": "Hi [Name], I noticed your article on automation tools links to a page that's no longer live. We have an updated resource on Business as Code that covers the same topic in depth β would you consider linking to it instead? [link]",
"priority": "high"
}
],
"haro_responses_drafted": 3
},
"citation_track": {
"queries_probed": 30,
"site_cited": 4,
"citation_rate": 0.13,
"top_citation_gaps": [
"what is business as code definition",
"how to automate SOPs with AI agents"
],
"competitor_citations": {
"zapier.com": 12,
"processst.com": 7
},
"community_posts_queued": 5,
"ai_citation_tracker_updated": true
}
}π KPIs
| Metric | Target | Alert Condition |
|---|---|---|
| Backlink prospects qualified/month | β₯ 15 | < 5 β expand competitor list |
| Outreach emails sent/month | β₯ 10 | 0 β escalate to human |
| New referring domains/month | β₯ 5 | 0 for 2 months β review strategy |
| AI citation rate (queries probed) | β₯ 20% | < 10% β prioritize AEO pass on gap topics |
| Citation gap queries addressed | 100% of top 10 | Any unaddressed β add to content strategy |
| HARO responses submitted/month | β₯ 3 | 0 β check HARO topic filters |
β οΈ Error Handling
error_rules:
- condition: Ahrefs API returns empty backlink data for competitor
action: Try SEMrush as fallback; use Moz as tertiary
fallback: Manual backlink check via Ahrefs web UI; log result manually
- condition: AI citation probe returns no usable response (API error)
action: Retry after 1 hour; use alternative phrasing of query
fallback: Mark probe as "failed" in citation log; retry next week
- condition: HARO response rejected by journalist
action: Log as rejected; do not contact same journalist again for 90 days
fallback: None β move to next opportunity
- condition: Community post flagged/removed (Reddit, Quora)
action: Review post for spam signals; adjust content-to-link ratio
fallback: Pause community seeding for 7 days; review guidelinesπ Related Files
- 06-AEO-Structuring-Agent β AEO-ready content is the asset being promoted
- 04-Keyword-and-Topic-Research-Agent β Citation gap queries traced back to keyword research
- 09-Human-Review-Gates β Human approves outreach before sending (optional gate)
- 10-Metrics-and-Self-Improvement β Citation rates + backlinks tracked as KPIs
- 01-Process-Manifest β S8 stage definition