Skip to content

Conversation

@charlotte-hoblik
Copy link
Contributor

This PR adds a new guide on how to integrate workflows with Agent Builder, documenting the bi-directional integration between the two features.

Connected to: https://github.com/elastic/docs-content-internal/issues/643

@charlotte-hoblik charlotte-hoblik self-assigned this Jan 21, 2026
@charlotte-hoblik charlotte-hoblik requested review from a team as code owners January 21, 2026 02:27
@charlotte-hoblik charlotte-hoblik added documentation Improvements or additions to documentation v9.3.0 labels Jan 21, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Jan 21, 2026

✅ Vale Linting Results

No issues found on modified lines!


The Vale linter checks documentation changes against the Elastic Docs style guide.

To use Vale locally or report issues, refer to Elastic style guide for Vale.

Copy link
Contributor

@leemthompo leemthompo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a quick initial set of comments :)

:alt: Screenshot of the JSON raw response modal
:::

### Create a workflow tool
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This might need to be a standalone page under Tools

charlotte-hoblik and others added 2 commits January 21, 2026 15:48
Co-authored-by: Liam Thompson <leemthompo@gmail.com>
Co-authored-by: Liam Thompson <leemthompo@gmail.com>
Copy link
Contributor

@leemthompo leemthompo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@charlotte-hoblik workflows.md conflates overview/integration information and reference content for the workflow tool type. What you have now is looking great, we just need to:

  • pull the reference stuff into a separate page under tools/
  • let's move workflows.md to be a child of that new tool reference page for the moment, it shouldn't be orphaned in the TOC like it is now


# Integrate workflows with {{agent-builder}}

{{agent-builder}} integrates bi-directionally with [Elastic Workflows](/explore-analyze/workflows.md). This integration bridges the gap between conversational reasoning and automated execution:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's just use working links or comment these out for the moment so we get a working URL preview on this PR


# Integrate workflows with {{agent-builder}}

{{agent-builder}} integrates bi-directionally with [Elastic Workflows](/explore-analyze/workflows.md). This integration bridges the gap between conversational reasoning and automated execution:
Copy link
Contributor

@leemthompo leemthompo Jan 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a bit vague right now. I'd reword intro slightly with something like:

Workflows and {{agent-builder}} are built to work together:

  • Assign agents workflow tools to trigger workflows from your chats.
  • Add ai.agent steps to invoke agents in your workflows.

Agents chat with your data by retrieving, summarizing, and reasoning. Workflows execute reliably with business-grade guardrails. Together, they combine flexible reasoning with deterministic execution.

Adding links once available

:::{image} images/create-new-tool-workflows.png
:screenshot:
:width: 900px
:alt: Screenshot of the JSON raw response modal
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

copy/paste error

2. Open the **Agent chat** and ask a question that triggers the workflow.
3. The agent extracts the necessary parameters from the conversation, runs the workflow, and returns the workflow's final output to the chat.

:::{image} images/agent-builder-worflow-tool.png
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: let's fix the typo in the png filename

:::{image} images/agent-builder-worflow-tool.png
:screenshot:
:width: 500px
:alt: Screenshot of the JSON raw response modal
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

copy/paste error

1. **agent_id**: The ID of the agent you want to call (must exist in Agent Builder).
2. **message**: The prompt sent to the agent. You can use template variables (like `{{ steps.step_name.output }}`) to inject data dynamically.

### Call Agent Builder APIs
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If ai.agent step works we might not need this section. Let's check with product folks on Monday to confirm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation v9.3.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants