diff --git a/guides/ai-agents/ai-writeback.mdx b/guides/ai-agents/ai-writeback.mdx index 986e274f..490abad1 100644 --- a/guides/ai-agents/ai-writeback.mdx +++ b/guides/ai-agents/ai-writeback.mdx @@ -82,6 +82,8 @@ Make the orders model better. When the pull request is ready, the agent posts the URL in the thread. Open it, review the diff, and merge as you would any other pull request. After merging, refresh dbt in Lightdash (or let your CI/CD do it) so the change takes effect. +If your repository is configured to [deploy Lightdash previews](/guides/developer/preview-projects) on pull requests, a **View preview** link appears alongside the pull request as soon as the preview environment is ready. In Slack writeback threads, this arrives as a follow-up reply ("✅ Preview environment ready") posted to the same thread once the preview URL is detected on the pull request — typically within a few minutes. No extra setup is required beyond having a preview deploy workflow on the repo. + ## What happens if it can't run | Situation | Result |