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:
- create tenant-dedicated credentials with the least possible privilege;
- enter secrets only in Settings;
- save without exposing the full value again;
- run
verifyor a controlled test; - review the sanitized result log and external resource;
- document owner, scope, and rotation date;
- 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
| Area | Use | Recommended validation |
|---|---|---|
| AI | Content and response generation | List models and run a prompt without sensitive data |
| SMTP, SES, or Resend | Send a test and review sender, DKIM/SPF, and bounce | |
| Luma | Event synchronization and webhooks | Query a test Event and validate webhook signature |
| WaSender | WhatsApp send and receive | Verify session, number, and webhook |
| Kapso | Accounts, templates, and external messaging | List business accounts and approved templates |
| Mercado Pago | Checkout and reconciliation | Create a test preference and verify a sandbox payment |
| Lightning | Invoices and settlement | Create a small invoice and confirm expiry/settlement |
| Storage | Tenant images and files | Upload, 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.