This page provides a reference for AWS Bedrock actions available in the workflow automation actions catalog. Use these actions to invoke Bedrock agents as part of your workflow definitions.
Prerequisites
For prerequisites and credentials setup, see Set up AWS credentials.
Invoke a Bedrock agent
The action identifier is aws.bedrock.invokeAgent.
Invokes an AWS Bedrock agent with a prompt and returns the agent's response.
The following table describes the input fields for this action.
Input | Type | Description | Example |
|---|---|---|---|
| String | Optional. IAM role ARN to assume for AWS API calls. |
|
| String | Optional. AWS access key ID. Pass as a secret. |
|
| String | Optional. AWS secret access key. Pass as a secret. |
|
| String | Optional. Temporary session token for STS authentication. Pass as a secret. |
|
| String | Required. AWS region where the Bedrock agent is located. |
|
| String | Required. The unique identifier of the Bedrock agent. |
|
| String | Required. The alias identifier for the Bedrock agent. |
|
| String | Required. The prompt to send to the agent. |
|
| String | Optional. Session identifier to maintain conversation context across multiple invocations. |
|
| Map | Optional. Additional boto3 fields not otherwise modeled. |
|
| List | Optional. JQ selectors to extract specific fields from the action output. |
|
The following table describes the output fields for this action.
Output | Type | Example |
|---|---|---|
| Object |
|
| Boolean |
|
| String |
|