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.
Before you begin
Section titled “Before you begin”- 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.
Where the fix buttons are
Section titled “Where the fix buttons are”| Where | Button | After you click |
|---|---|---|
| A journey report, under What went wrong | Fix in docs or Draft in Marketing on each cause | The new session opens. |
| A collection report: open a question under Every buyer question, then What went wrong | Fix in docs or Draft in Marketing | You stay on the report; the button becomes View in Docs Agent or View in Marketing Agent. |
| A collection report, under Fix these first | Start the fix | You 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”.
-
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.
-
Click Fix in docs, Draft in Marketing or Start the fix.
-
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.
-
Review the result and approve it:
- Docs Agent: accept or reject its changes in the editor, then click Raise PR. Review and merge the pull request in GitHub or GitLab. See Work in the editor and How EkLine opens pull requests.
- Marketing Agent: edit the draft in the editor, then copy or download it and publish it yourself. See Write a post that answers a buyer question. For an outreach list, send each pitch yourself from your own email.
-
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.
Check it worked
Section titled “Check it worked”- 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.
Troubleshooting
Section titled “Troubleshooting”| What you see | What to do |
|---|---|
| A cause shows Fix in docs when you expected Draft in Marketing | The 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.