WAOtomatis icon

WAOtomatis

Send WhatsApp messages and manage chats, contacts, media, storage, webhooks and tickets via WAOtomatis

Storage → Create Connection

AI-generated

Summary

Registers a bring-your-own S3-compatible bucket (AWS S3, Cloudflare R2, Backblaze B2, Wasabi, MinIO, etc.) as a storage connection in WAOtomatis. It can optionally make the new connection the active upload target for new media.

Inputs

  • Name (required) — Label for the connection, e.g. "Production bucket".
  • Endpoint (required) — S3-compatible endpoint URL, e.g. https://s3.amazonaws.com.
  • Bucket (required) — Name of the bucket to connect.
  • Region — Bucket region. Defaults to "auto".
  • Access Key ID (required) — Access key ID used to authenticate to the bucket.
  • Secret Access Key (required) — Secret key for the bucket (masked password field).
  • Force Path Style — Use path-style URLs. Defaults to true, which is recommended for R2 and MinIO.
  • Activate Now — Make this the active upload target immediately. Defaults to true.
  • Session — A session picker appears in the UI for this operation. The Storage handler doesn't read it, and the request is org-level (POST /v1/storage/connections), so it has no effect.

Output shape

A single item containing the JSON response from the WAOtomatis API for the newly created connection.

The exact fields come from the API and aren't defined in the node. The secret key is sent in the request body and may or may not be echoed back. On API errors the node throws a NodeApiError with the API's message and code, or emits an item with an error field if Continue On Fail is enabled. The operation does not test connectivity. Use Test Connection afterwards to probe the bucket.

Examples

Example 1: Connect a Cloudflare R2 bucket and use it for new media uploads

Name "R2 media", Endpoint https://.r2.cloudflarestorage.com, Bucket my-media, Region auto, Access Key ID and Secret Access Key set, Force Path Style true, Activate Now true.

Example 2: Add an AWS S3 bucket without switching the active target yet

Endpoint https://s3.amazonaws.com, Region us-east-1, credentials set, Activate Now false. Later, use Set Connection Active.

Links

Discussion