Skip to content
LA CRYPTADOCS / 01

Integrations and operations

Configure providers, storage, webhooks, and logs without exposing secrets.

Integrations and operations

Integrations belong to an organization. An administrator stores credentials and runs verification; managers may access auxiliary reads needed to operate, such as models, templates, accounts, or provider state.

Configuration lifecycle

Apply the same process to every provider:

  1. create tenant-dedicated credentials with the least possible privilege;
  2. enter secrets only in Settings;
  3. save without exposing the full value again;
  4. run verify or a controlled test;
  5. review the sanitized result log and external resource;
  6. document owner, scope, and rotation date;
  7. rotate or disable when changing providers.

Do not send keys through chat, campaigns, screenshots, or tickets. A failed verification should show sanitized context, never the secret.

Available providers

AreaUseRecommended validation
AIContent and response generationList models and run a prompt without sensitive data
EmailSMTP, SES, or ResendSend a test and review sender, DKIM/SPF, and bounce
LumaEvent synchronization and webhooksQuery a test Event and validate webhook signature
WaSenderWhatsApp send and receiveVerify session, number, and webhook
KapsoAccounts, templates, and external messagingList business accounts and approved templates
Mercado PagoCheckout and reconciliationCreate a test preference and verify a sandbox payment
LightningInvoices and settlementCreate a small invoice and confirm expiry/settlement
StorageTenant images and filesUpload, read, and delete a test file

The API reference lists configuration, verification, and auxiliary-read routes for every integration.

AI

AI configuration is resolved from the organization integration. Choose an appropriate model and master prompt, set limits, and avoid sending unnecessary personal data. Generated responses require human review before a campaign or public change.

Messaging

For email, configure sender identity and domain authentication. For WhatsApp, distinguish credentials, session, approved templates, and webhook secret. A connection test does not guarantee delivery to every destination; monitor real executions.

Payments

Mercado Pago and Lightning need idempotent references linking provider, invoice, order, and Event. Webhooks speed reconciliation, but a verification operation should recover state when a webhook is delayed.

Storage

Use tenant-generated paths and names, allowed MIME types, and size limits. Do not turn storage into a generic public repository. When replacing an image, confirm active references before deleting the previous file.

Webhooks

Every receiver should:

  • verify signature or secret before processing;
  • respond quickly and move heavy work to asynchronous processing;
  • deduplicate by a stable provider ID;
  • tolerate out-of-order delivery;
  • store sanitized payload and result;
  • support later reconciliation.

Rotating a secret requires coordinating sender and receiver to avoid a loss window.

Logs and audit

Logs help investigate webhooks, campaigns, and sensitive changes. Filter by tenant, time range, provider, and correlation ID. Redact tokens, cookies, ticket codes, private message bodies, and payment data.

Retain logs as long as operations require, not indefinitely. A log export carries the same privacy obligations as the application.

Production checklist

  • Dedicated credential and least privilege.
  • Verification or sandbox test completed.
  • Webhook signatures and deduplication tested.
  • Senders, domains, and callbacks are correct.
  • Alerts and operating owner are defined.
  • Rotation and recovery are documented.