Appbricx
Docs
FeaturesPricingStart free

Get started

OverviewWhat Appbricx isQuickstart with a coding agentQuickstart with the builderCore concepts

Guides

Data and tablesAccess and rolesBusiness rulesSign-inCustom screensRealtime and topicsWorkflows, schedules and webhooksServer functionsAI in your appPaymentsFilesMessagesIntegrationsVerifyPublishing, domains and rollbackOperating your appExport and self-hostSelf-host install

Tutorials

Build a booking app with Claude CodeMulti-user todo listClient portalSlack on new sign-upTemplates

Reference

Reference homeFrontend SDKHTTP APIMCP toolsCLIIntegrations catalogContract formatAI key resolutionRun Appbricx locally

Amazon Bedrock

Invoke foundation models on AWS Bedrock including Claude, Llama, and Titan.

AI and MLCredentials form5 actionsAll integrations

On this page
  1. Connect
  2. Call it from a workflow
  3. Actions (5)
  4. generate_content_from_image
  5. generate_embeddings
  6. generate_image
  7. send_prompt
  8. custom_api_call
  9. Details

Connect

Auth type: Credentials form (custom_auth). Fill in the fields the provider needs (listed below). They are stored encrypted in the vault.

FieldTypeDescription
accessKeyIdrequiredtextYour AWS access key ID
secretAccessKeyrequiredsecretYour AWS secret access key
regionrequiredtextAWS region (e.g. us-east-1)
  • In the editor: Backend panel, Integrations tab, then Connect. This connects it for the project.
  • For every project in a workspace: Workspace settings, Integrations.
  • Owners and admins choose which integrations members may connect in the admin panel (Integrations tab), and can attach their own OAuth app there.

Call it from a workflow

Pass the action name and its input. The call resolves with { success, output, error? }; a missing connection resolves with success false and the reason. See ctx.integrations.invoke and ctx.integrations.call.

Native workflow
// .workflow.js (native ctx)
export async function run(ctx) {
  const res = await ctx.integrations.invoke("amazon_bedrock", "generate_content_from_image", {
    "model": "<model>",
    "image": "<image>",
    "prompt": "<prompt>"
  });
  if (!res.success) throw new Error(res.error);
  ctx.log.info("Amazon Bedrock answered", { output: res.output });
}
defineWorkflow module
// defineWorkflow module (@app/sdk ctx)
import { defineWorkflow } from "@app/sdk";

export default defineWorkflow({
  id: "amazon-bedrock-generate-content-from-image",
  name: "Amazon Bedrock: Generate Content from Image",
  description: "Calls Amazon Bedrock when a row is created.",
  trigger: { type: "entity_event", entity: "tickets", event: "created" },
  async run(ctx, event) {
    const res = await ctx.integrations.call("amazon_bedrock", {
      "action": "generate_content_from_image",
      "model": "<model>",
      "image": "<image>",
      "prompt": "<prompt>"
    }) as { success: boolean; error?: string };
    if (!res.success) throw new Error(res.error);
  },
});
From an app (connector proxy)
curl -X POST "$APP_ORIGIN/__appbricx/connector-proxy/amazon_bedrock/generate_content_from_image" \
  -H "Authorization: Bearer $APP_KEY" \
  -H "content-type: application/json" \
  -d '{"props":{"model":"<model>","image":"<image>","prompt":"<prompt>"}}'

Actions

generate_content_from_imagein catalog

Generate Content from Image. Ask a Bedrock model a question about an image.

InputTypeDescription
modelrequiredid (picked from your account)The foundation model to use. Must support image input.
imagerequiredfileThe image to analyze (PNG, JPEG, GIF, or WebP).
promptrequiredlong textWhat do you want the model to tell you about the image?
systemPromptoptionallong textInstructions that guide the model behavior.
temperatureoptionalnumberControls randomness. Lower values produce more deterministic output.
maxTokensoptionalnumberThe maximum number of tokens to generate.

generate_embeddingsin catalog

Generate Embeddings. Generate vector embeddings from text using Amazon Titan Embed, Cohere Embed, or Amazon Nova Multimodal Embeddings models.

InputTypeDescription
modelrequiredid (picked from your account)The embedding model to use.
inputTextrequiredlong textThe text to generate embeddings for.
embeddingPurposeoptionalone of "GENERIC_INDEX" | "GENERIC_RETRIEVAL" | "TEXT_RETRIEVAL" | "CLASSIFICATION" | "CLUSTERING"Optimize embeddings for your use case. Only used by Nova Multimodal Embeddings.
dimensionsoptionalnumberThe number of dimensions for the output embedding vector. Titan Embed v2: 256, 512, 1024. Nova Multimodal: 256, 384, 1024, 3072.
normalizeoptionalbooleanWhether to normalize the output embedding vector. Supported by Titan Embed v2.

generate_imagein catalog

Generate Image. Generate an image from a text prompt using Amazon Titan Image Generator or Stability AI models.

InputTypeDescription
modelrequiredid (picked from your account)The image generation model to use.
promptrequiredlong textA text description of the image you want to generate.
negativePromptoptionallong textDescribe what you do NOT want in the image. Helps refine the output.
widthoptionalnumberImage width in pixels. Must be supported by the model.
heightoptionalnumberImage height in pixels. Must be supported by the model.
seedoptionalnumberA seed for reproducible results. Use the same seed and prompt to get the same image.

send_promptin catalog

Ask Bedrock. Send a text prompt to an Amazon Bedrock model.

InputTypeDescription
modelrequiredid (picked from your account)The foundation model to use for generation.
promptrequiredlong textPrompt
systemPromptoptionallong textInstructions that guide the model behavior.
temperatureoptionalnumberControls randomness. Lower values produce more deterministic output.
maxTokensoptionalnumberThe maximum number of tokens to generate.
topPoptionalnumberNucleus sampling: the model considers tokens with top_p probability mass.
stopSequencesoptionalarraySequences that will cause the model to stop generating. Up to 4 sequences.
memoryKeyoptionaltextA memory key that will keep the chat history shared across runs and flows. Keep it empty to leave the model without memory of previous messages.

custom_api_call

Custom API Call. Make a custom API call to any AWS Bedrock endpoint. Requests are automatically signed with AWS Signature V4.

InputTypeDescription
servicerequiredone of "bedrock" | "bedrock-runtime" | "bedrock-agent" | "bedrock-agent-runtime"Select the AWS Bedrock service endpoint to call. Use "Bedrock" for control plane operations (e.g., ListFoundationModels) and "Bedrock Runtime" for inference operations (e.g., InvokeModel).
methodrequiredone of "GET" | "POST" | "PATCH" | "PUT" | "DELETE" | "HEAD"Method
pathrequiredtextThe API path (e.g., /foundation-models, /model/{modelId}/invoke). See the AWS Bedrock API Reference for available endpoints.
headersoptionalobjectAdditional headers to include. Authorization headers are automatically added via AWS Signature V4.
queryParamsoptionalobjectQuery parameters to include in the request URL.
bodyoptionalJSONJSON body for POST/PUT requests.
failsafeoptionalbooleanNo Error on Failure
timeoutoptionalnumberTimeout (in seconds)

Details

Id
amazon_bedrock
Category
AI and ML
Tags
ai, aws, bedrock, llm, enterprise
Package
@activepieces/piece-amazon-bedrock@0.0.4
Tier
Built in

On this page

  1. Connect
  2. Call it from a workflow
  3. Actions (5)
  4. generate_content_from_image
  5. generate_embeddings
  6. generate_image
  7. send_prompt
  8. custom_api_call
  9. Details
Appbricx

The backend, runtime and hosting for apps your coding agent builds. On our cloud, in yours, or on your own servers.

Features

Coding agents and MCPVerify testingBuilder consolePostgres databaseData APIRealtimeRow-level securitySign-in and authPaymentsWorkflows and jobsAI in your appIntegrationsBackups and rollbackHosting and domainsSelf-host and exportAll features

Product

ShowcasePricingFor coding agentsTemplatesPrivate cloudBring your own AI keyFAQ

Compare

Appbricx vs SupabaseLovable alternativeBolt alternativeFor freelancersFor agencies

Resources

DocumentationReferenceBlogSupportContact

© 2026 Appbricx. All rights reserved.

TermsPrivacyCookiesAcceptable Use