Skip to content

For the complete documentation index, see llms.txt.

Overview

Triggers are events that initiate automated documentation updates in Promptless. When a trigger event occurs, Promptless analyzes the context and determines if documentation updates are needed.

When a trigger event occurs:

  1. Event Detection: Promptless receives notification of the event (PR opened, message posted, etc.)
  2. Context Analysis: The system analyzes the event content, including code changes, conversations, or support interactions
  3. Relevance Assessment: Promptless determines if the event requires documentation updates
  4. Suggestion Creation: If relevant, Promptless creates documentation suggestions based on the trigger content and connected context sources

Triggers are configured in your organization’s Configuration page using the triggers section of your promptless.yaml file. For each trigger, you can:

  • Specify which repositories or channels to monitor
  • Configure trigger-specific settings (e.g., directory filters, branch targeting)
  • Set up publishing behavior through policy rules

See the Configuration Reference for the complete YAML schema.

Need a trigger type that isn’t currently supported? Contact us at help@gopromptless.ai - we regularly add new trigger types based on user feedback.

When automatic PR creation is enabled in your publishing policies, Promptless automatically creates pull requests in your documentation repository with suggested changes. For commit triggers, you can optionally enable auto-merge to automatically merge documentation PRs as soon as they’re created.

Automatic PR creation is available for all Git-hosted documentation platforms.

When Promptless creates a pull request for documentation updates, it automatically includes a list of the trigger events that led to those changes in the PR description. This provides valuable context for reviewers and creates clear traceability between documentation updates and their originating events.