> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cogniagent.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Portal Trigger

> Expose your workflow as a callable entry point with named inputs

The Portal trigger lets you turn a workflow into a reusable, callable entry point. Declare input arguments up front and other workflows — or AI agents using your workflow as a tool — can invoke it like a function.

<Frame caption="Portal configuration — declare the input arguments callers must pass.">
  <img src="https://mintcdn.com/glorium/eqWkhSfBUec9afZU/images/nodes/node-portal-form.png?fit=max&auto=format&n=eqWkhSfBUec9afZU&q=85&s=583d5ceb601a22a110efa55b1926c01f" alt="Portal node configuration form" width="1440" height="1200" data-path="images/nodes/node-portal-form.png" />
</Frame>

## When to use

* **Reusable workflows** — Wrap a multi-step process behind a clean input contract, then call it from many places.
* **Agent tools** — Expose a workflow as a tool an actor in a [Conversation Flow](/conversation-flows/overview) can invoke.
* **Composition** — Build small focused workflows and assemble them with [Call AI Agent](/nodes/actions/call-ai-agent).

## How it works

When a Portal trigger runs:

1. The caller provides values for each declared input.
2. The Portal node hands those values to the workflow as variables.
3. The workflow runs to completion and returns its result to the caller.

This is the workflow equivalent of declaring a function signature — explicit inputs, predictable behavior, callable from anywhere.

## Next steps

<CardGroup cols={2}>
  <Card title="Call AI Agent" icon="phone" href="/nodes/actions/call-ai-agent">
    Invoke a Portal-fronted workflow from another workflow.
  </Card>

  <Card title="Capabilities" icon="puzzle-piece" href="/conversation-flows/build/capabilities">
    Wire a workflow as a custom tool for an actor.
  </Card>
</CardGroup>
