What it is for
Build generative AI applications with foundation models
AWS Bedrock has no triggers: use it as an action in flows started by other apps, a schedule or a webhook.
Set up the connection
Authentication type: Custom credentials · OIDC
- 1Sign in to AWS Bedrock and look for the API or integrations section in its settings.
- 2Create an API key or token with the permissions you need and copy it.
- 3In flooows, add a AWS Bedrock step, click "Connect" and paste it into: Access Key ID, Secret Access Key, Session Token, Region.
- 4Save the connection: it is stored encrypted and is never shown in plain text.
| Connection field | Type | Required |
|---|---|---|
| Access Key ID | Text | Yes |
| Secret Access Key | Secret key | Yes |
| Session Token | Secret key | No |
| Region | Fixed list | Yes |
Credentials are stored encrypted in your isolated database, in Spain, and are never shown in plain text.
How to use it in a flow
- Ask Bedrock: fill in Model, Prompt; use the data selector to map values from earlier steps.
- Generate Content from Image: fill in Model, Image Source, Image, Prompt; use the data selector to map values from earlier steps.
- Generate Image: fill in Model, Prompt; use the data selector to map values from earlier steps.
Tips
- •Test each step before publishing to see the exact output structure.
- •Enable retries on steps that call external services.
Actions (5)
Operations available as flow steps. Expand each one to see its fields.
Ask Bedrock10 fields
| Field | Type | Required |
|---|---|---|
| Model | List (from your account) | Yes |
| Prompt | Long text | Yes |
| System Prompt | Long text | No |
| Temperature | Number | No |
| Maximum Tokens | Number | No |
| Top P | Number | No |
| Stop Sequences | List of values | No |
| Conversation Memory ID | Text | No |
| Attachment Source (Optional) | Fixed list | No |
| Attachment | Dynamic fields | No |
Generate Content from Image7 fields
| Field | Type | Required |
|---|---|---|
| Model | List (from your account) | Yes |
| Image Source | Fixed list | Yes |
| Image | Dynamic fields | Yes |
| Prompt | Long text | Yes |
| System Prompt | Long text | No |
| Temperature | Number | No |
| Maximum Tokens | Number | No |
Generate Image6 fields
| Field | Type | Required |
|---|---|---|
| Model | List (from your account) | Yes |
| Prompt | Long text | Yes |
| Negative Prompt | Long text | No |
| Width | Number | No |
| Height | Number | No |
| Seed | Number | No |
Generate Embeddings5 fields
| Field | Type | Required |
|---|---|---|
| Model | List (from your account) | Yes |
| Input Text | Long text | Yes |
| Embedding Purpose | Fixed list | No |
| Vector Dimensions | Number | No |
| Normalize Output | Yes / No | No |
Custom API Call8 fields
| Field | Type | Required |
|---|---|---|
| Service | Fixed list | Yes |
| Method | Fixed list | Yes |
| Path | Text | Yes |
| Headers | Key / value pairs | No |
| Query Parameters | Key / value pairs | No |
| Body | JSON | No |
| Return Error as Output | Yes / No | No |
| Timeout (in seconds) | Number | No |
Common errors
Authentication error
The connection expired or the key was revoked: reconnect it from Connections.
Field not found or empty
Re-test the previous step and remap the field in the data selector.
Field types
"List (from your account)" loads options from your connected account; "Dynamic fields" appear depending on earlier choices; in any field you can insert data from previous steps with the data selector (e.g. {{trigger.email}}). More about data between steps
