Skip to content

Turn a gap into a fix

Take a gap a Journeys report found, such as a buyer question you lose or a run that fails a check, and hand it to the Docs Agent or the Marketing Agent to fix. Then approve the change and run the journey again to see whether the answers move.

  • A journey or collection report with at least one cause under What went wrong, or a card under Fix these first.
  • For a docs pull request, your documentation repository connected through GitHub or GitLab.
WhereButtonAfter you click
A journey report, under What went wrongFix in docs or Draft in Marketing on each causeThe new session opens.
A collection report: open a question under Every buyer question, then What went wrongFix in docs or Draft in MarketingYou stay on the report; the button becomes View in Docs Agent or View in Marketing Agent.
A collection report, under Fix these firstStart the fixYou stay on the report; the button becomes View in Docs Agent or View in Marketing Agent.

The report decides which agent gets each fix. Anything in your docs, or any fix that needs a code change, including your website’s code, goes to the Docs Agent with Fix in docs. Everything else goes to the Marketing Agent with Draft in Marketing. That includes blog posts, comparison pages, pricing pages, and getting your company named on the roundups, review sites and directories AI assistants cite. A Fix these first card names its agent, for example “The Marketing Agent can draft this”.

  1. Open the report and find the gap. In a collection report, start with Fix these first; each card says how many buyer questions it affects. In a journey report, causes are ranked by how many runs they explain.

  2. Click Fix in docs, Draft in Marketing or Start the fix.

  3. Open the session. Its first message is the gap as the report states it, with a link back to the report:

    • Fix in docs or Draft in Marketing: the problem, the report’s suggestion, quotes from the answers that failed, and the pages the assistants cited.
    • Start the fix: the card’s text, the page it names if any, and the buyer questions it affects, each with how many answers passed and a link to its journey report.

    The agent starts from that message. It reads the report’s data, checks your own pages to confirm the problem is real and not already fixed, and then does the work:

    • The Docs Agent improves an existing page where it can, rather than adding one.
    • The Marketing Agent writes or changes the page or post. For a fix that means getting named on sites you don’t own, it gives you a ranked list of the pages to get onto, each with who publishes it, whether it names your company now, a published contact and where it was found, what to ask for, a short pitch, and an entry to paste in the page’s format. It never guesses an email address and sends nothing.
    • If your pages already cover the gap, the agent tells you instead of drafting. If the fix needs a change the agent can’t make, such as code it has no access to, it gives you a prompt to pass to your engineers.
  4. Review the result and approve it:

  5. Once the change is published on your public site, run the journey again: Run now on its row in the Journeys list, or Run N times on its Reports tab. For a collection, click Run collection. Journeys reach your content only through the public web, so a change that is merged but not yet published cannot move the answers.

  • A session is open in the Docs Agent or the Marketing Agent. On a collection report, the button you clicked now reads View in Docs Agent or View in Marketing Agent.
  • For the Docs Agent, the editor toolbar shows View PR #N once the pull request is open.
  • After the next run, compare the reports. In a collection report, a question whose outcome changed shows what it was, such as Was a loss. See Track results over time.
What you seeWhat to do
A cause shows Fix in docs when you expected Draft in MarketingThe report labeled it a docs problem. Start a Marketing Agent session yourself if you want a draft.

Built on Potluck Docs, our open source template.