Connect Retool to Chanty primarily via Chanty's incoming webhook URLs for sending operational alerts and notifications from Retool to Chanty channels. For read access to team data, Chanty offers limited API endpoints. Configure a REST API Resource in Retool pointing to Chanty's webhook URL to push automated messages triggered by database events, form submissions, or scheduled Retool Workflows.
| Fact | Value |
|---|---|
| Tool | Chanty |
| Category | Other |
| Method | REST API Resource |
| Difficulty | Beginner |
| Time required | 10 minutes |
| Last updated | April 2026 |
Build a Chanty Notification Integration in Retool
Chanty is a lightweight team messaging tool that many small and mid-size teams use as a Slack alternative. Unlike Slack's extensive API ecosystem, Chanty's API surface is currently more limited — the primary integration mechanism for external tools is incoming webhooks, which allow any service to push messages into a Chanty channel with a single HTTP POST request.
For Retool teams using Chanty as their primary communication tool, webhook-based integration enables a valuable pattern: operational alerts from internal dashboards. When a Retool dashboard user approves an order, escalates a support ticket, or triggers a deployment, Retool can automatically post a formatted notification to the relevant Chanty channel — keeping the broader team informed without requiring everyone to monitor the Retool dashboard.
Retool Workflows extend this further: scheduled workflows can query your database or external APIs at regular intervals and post digest summaries or alerts to Chanty when thresholds are crossed — for example, a daily morning standup summary or an alert when a key metric drops below acceptable levels. This creates a low-code notification system that keeps Chanty-using teams informed with real data from their internal tools.
Integration method
Chanty connects to Retool primarily through incoming webhook URLs, which allow Retool to send formatted messages to specific Chanty channels. You generate a webhook URL from Chanty's Integrations settings, then configure it as a REST API Resource endpoint in Retool. Retool's server-side proxy handles all outgoing requests, and the one-time setup enables alert notifications, status updates, and operational alerts from any Retool app or Workflow.
Prerequisites
- A Chanty account with admin access to create integrations (Business plan or higher for webhook integrations)
- A Chanty channel to receive notifications
- Access to Chanty's Integrations settings to generate an incoming webhook URL
- A Retool account with permission to create Resources
- Basic familiarity with Retool's query editor and event handlers
Step-by-step guide
Generate a Chanty incoming webhook URL
To send messages from Retool to Chanty, you first need to create an incoming webhook integration in Chanty. In Chanty, click on the three-dot menu next to the channel you want to receive notifications, select Integrations (or navigate via Settings → Integrations in your Chanty workspace). Look for Incoming Webhooks in the available integrations list. If Chanty's incoming webhooks are available in your plan (typically Business plan), click Add Webhook. Give the webhook a descriptive name like 'Retool Alerts' and select the channel where messages should be posted. After saving, Chanty generates a unique webhook URL — it looks like https://api.chanty.com/webhooks/incoming/[unique-token] or a similar format. Copy the webhook URL. This URL is the endpoint that Retool will POST to — each POST with a JSON body containing a 'text' field sends a message to the designated Chanty channel. Note: If Chanty doesn't show incoming webhooks in your plan or interface, check if Chanty has updated their integration options — Chanty's API capabilities have evolved over time. As an alternative, Chanty also supports Zapier and other automation platforms that can bridge Retool actions to Chanty via their webhooks.
Pro tip: Create separate webhook URLs for different purposes (alerts, daily digests, deployment notifications) — each goes to a different Chanty channel, keeping notification types organized and easy to manage.
Expected result: You have a Chanty incoming webhook URL that, when POSTed to with a JSON body, delivers a message to the specified Chanty channel.
Create the Chanty REST API Resource in Retool
In Retool, navigate to the Resources tab and click Add Resource. Select REST API. Since Chanty webhook URLs are complete endpoint URLs (not base URL + path), set the resource up in one of two ways: Option A (simple): Set the Base URL to the full webhook URL provided by Chanty (e.g., https://api.chanty.com/webhooks/incoming/your-token). Leave the path empty in queries that use this resource. This approach works well if you're only posting to one Chanty channel. Option B (flexible): Set the Base URL to https://api.chanty.com and use the webhook path (e.g., /webhooks/incoming/your-token) in each query. Store different webhook paths as Retool configuration variables if you're posting to multiple channels. No authentication headers are needed — Chanty webhook URLs are pre-authenticated via the unique token in the URL. Add a Content-Type header: Key: Content-Type, Value: application/json. Click Create Resource. To test, create a query with method POST and path set to your webhook path (or leave empty if you used Option A). Set the body type to JSON and enter: {"text": "Test message from Retool"}. Run the query — if 'Test message from Retool' appears in your Chanty channel, the integration is working.
Pro tip: If you're integrating with multiple Chanty channels (alerts, digests, deployments), use Retool Configuration Variables to store each webhook URL separately and reference them in different queries rather than creating separate Resources.
Expected result: The Chanty webhook resource is configured and a test POST sends 'Test message from Retool' visibly to the designated Chanty channel.
Build formatted notification messages
Chanty's incoming webhook payload accepts a JSON body with a text field for the message content. Chanty supports basic Markdown formatting in webhook messages — bold text with **text**, italic with _text_, and links with [link text](URL). Create a sendChantyAlert query with method POST and the webhook path. Set the body type to JSON and compose the message using Retool's dynamic {{ }} expressions to include contextual data. For an order notification, the message body might include the order ID, customer name, amount, and a link to the Retool detail view. Structure the text to be scannable in Chanty's mobile and desktop apps — use line breaks (\n) to separate sections and bold key information. For different event types, create separate queries (sendChantyAlert, sendChantyDigest, sendChantyDeployment) with tailored message formats for each channel. Set all notification queries to manual trigger only — wire them to button event handlers (On Click → Run Query) or to other query event handlers (On Success of an action query → Run notification query). For approval workflows, the notification can include the approval result: 'Order #{{ orderTable.selectedRow.data.id }} has been APPROVED by {{ retoolContext.currentUser.email }}' — making the notification a complete record of who took which action.
1// Chanty webhook message body2{3 "text": "**New Order Alert** 🛒\n\n**Order ID:** #{{ orderTable.selectedRow.data.id }}\n**Customer:** {{ orderTable.selectedRow.data.customer_name }}\n**Amount:** ${{ orderTable.selectedRow.data.total.toFixed(2) }}\n**Status:** {{ orderTable.selectedRow.data.status }}\n\n[View in Retool]({{ retoolContext.pageUrl }})"4}Pro tip: Keep Chanty messages concise — the most actionable notifications are 3-5 lines with the key context (what happened, who/what it involves, and a link for more detail). Avoid large data dumps in Chanty messages.
Expected result: A formatted Chanty notification with bold headers, key data fields, and a link to the relevant Retool page appears in the channel when the trigger action is performed.
Build automated alert workflows with Retool Workflows
For automated (non-user-triggered) Chanty notifications, use Retool Workflows — the server-side automation system with scheduled and webhook triggers. Navigate to Retool Workflows in your Retool account and click New Workflow. Give it a name like 'Daily Digest to Chanty' or 'Inventory Alert'. Add a Schedule Trigger block and configure it to run at your desired time (e.g., every weekday at 9:00 AM using cron syntax: 0 9 * * 1-5). Add a Resource Query block connected to your database or external API. Write the query that fetches the data you want to include in the digest (yesterday's metrics, current alerts, etc.). Add a JavaScript Code block to format the query results into a readable message string. Build the message text with newlines and key-value pairs that will read well in Chanty. Add a final Resource Query block pointing to your Chanty REST API Resource. Set method to POST and body to the formatted message object: {"text": {{ codeBlock.data.message }}}. Click Publish to activate the workflow. Test by manually triggering it from the Workflow editor. Monitor run history in the Workflow's execution log to verify messages are delivered on schedule.
1// JavaScript block in Retool Workflow to format digest message2const metrics = databaseQuery.data;3const today = new Date().toLocaleDateString('en-US', { weekday: 'long', month: 'long', day: 'numeric' });45const totalOrders = metrics.reduce((sum, row) => sum + row.order_count, 0);6const totalRevenue = metrics.reduce((sum, row) => sum + row.revenue, 0);7const openTickets = metrics[0]?.open_tickets || 0;89const message = `**Daily Digest — ${today}**\n\n` +10 `📦 Orders: ${totalOrders}\n` +11 `💰 Revenue: $${totalRevenue.toFixed(2)}\n` +12 `🎫 Open Support Tickets: ${openTickets}\n\n` +13 `_Sent by Retool_`;1415return { message };Pro tip: Use Retool Workflow's error handling blocks to send a Chanty alert when the workflow itself fails — add a global error handler block that posts an error notification to a #monitoring channel so you're alerted if the digest fails to run.
Expected result: The Retool Workflow runs on schedule, queries the database, formats the results into a digest message, and posts it to the designated Chanty channel automatically.
Add Chanty notifications to existing Retool apps
The most practical use of the Chanty integration is adding notification side-effects to actions that already exist in your Retool apps. Anytime a user performs a significant action — approving a purchase order, closing a support ticket, completing a QA check — a Chanty notification can inform the relevant team channel. For each important action button in your existing Retool apps, add a sendChantyAlert query to the button's event handler chain. In the button's On Click event handler: 1. Run the primary action query (e.g., updateOrderStatus) 2. On success of the primary query, run sendChantyAlert 3. On success of sendChantyAlert, show a success notification in the Retool UI This chaining pattern (primary action → notification → UI feedback) ensures Chanty is only notified when the action actually succeeds. Avoid sending Chanty alerts before the primary action completes — a notification about an action that then fails is worse than no notification. For high-volume events where not every occurrence warrants a Chanty message, add a condition: only send the notification when a threshold is met (e.g., only alert for orders over $1,000, only notify on ticket escalation to Critical, only alert when error count exceeds 10 in a 5-minute window).
1// Conditional Chanty notification body2// Only send if order value exceeds threshold3{4 "text": "{{ parseFloat(table_orders.selectedRow.data.total) >= 1000 ? '🔔 **High-Value Order Alert**\\n\\n**Order:** #' + table_orders.selectedRow.data.id + '\\n**Amount:** $' + table_orders.selectedRow.data.total + '\\n**Customer:** ' + table_orders.selectedRow.data.customer : '' }}"5}Pro tip: For complex Retool apps with multiple integration points and conditional notification logic across several data sources, RapidDev's team can help design the event handling architecture to keep notification queries maintainable.
Expected result: Chanty notifications fire automatically when significant actions are performed in the Retool app, informing the team without any additional steps from the Retool user.
Common use cases
Build an operational alert notification system
Create Retool apps that send alerts to Chanty channels when important operational events occur — a high-value order is placed, a support ticket is escalated to urgent, a deployment completes, or a form submission is approved. Each Retool action button triggers a Chanty webhook POST with a formatted message including the relevant context.
Build a Retool support ticket management panel. When a ticket's priority is escalated to Critical, automatically POST a notification to the #alerts Chanty channel with the ticket ID, customer name, issue summary, and a link to the Retool ticket detail view. Show a confirmation toast in Retool after the Chanty notification is sent.
Copy this prompt to try it in Retool
Build a scheduled daily digest workflow
Use a Retool Workflow with a scheduled trigger to query your database each morning, compile key business metrics (orders processed, active support tickets, inventory alerts), and post a formatted daily digest to a Chanty team channel. This keeps the whole team informed without anyone needing to open a separate dashboard.
Build a Retool Workflow that runs every weekday at 9 AM. Query the database for yesterday's order count, total revenue, and number of open support tickets. Format the results into a Chanty-compatible message and POST it to the #daily-digest channel webhook. Include a greeting with the current date and a summary of each metric with comparison to the previous day.
Copy this prompt to try it in Retool
Build a threshold monitoring and alert bot
Create a Retool Workflow that monitors a business metric (inventory level, server error rate, payment failure count) on a schedule and posts a Chanty alert when the metric crosses a defined threshold. This creates a simple monitoring bot that keeps the team informed of issues without requiring dedicated alerting infrastructure.
Build a Retool Workflow that checks inventory levels every hour. Query the products table for items where stock_quantity < reorder_threshold. If any low-stock items are found, POST a Chanty message to #inventory-alerts listing each product name, current quantity, and reorder quantity. Only send the alert if the stock count has changed since the last check.
Copy this prompt to try it in Retool
Troubleshooting
POST to Chanty webhook returns 200 but no message appears in the channel
Cause: The webhook URL may be pointing to a different channel than expected, or the message body format is incorrect and Chanty is silently accepting but not displaying the message.
Solution: Verify the webhook URL corresponds to the correct channel in Chanty's Integrations settings. Check that the request body is valid JSON with a 'text' field: {"text": "your message"}. Test with a minimal payload first (literally {"text": "test"}) before adding dynamic {{ }} expressions. Also confirm the Chanty channel is not archived or private in a way that blocks webhook messages.
Query returns an error when attempting to POST the message
Cause: The Content-Type header may be missing, causing Chanty to reject the JSON body, or the webhook URL has expired or been deleted in Chanty.
Solution: Confirm the Content-Type: application/json header is set on the resource. If the webhook was deleted and recreated in Chanty, update the URL in the Retool resource. Verify the webhook URL is active in Chanty's Integrations → Incoming Webhooks list.
Chanty messages appear with broken formatting or unrendered Markdown
Cause: Chanty's Markdown support in webhook messages is more limited than Slack's — not all formatting syntax works, and special characters in dynamic values can break the message.
Solution: Test formatting with literal strings before adding dynamic values. Avoid special Markdown characters in user-generated content passed through {{ }} — sanitize these values in a JavaScript transformer before including them in the message body. Use simple formatting: **bold**, _italic_, and plain newlines (\n) rather than complex Markdown tables or code blocks.
Retool Workflow sends duplicate Chanty messages
Cause: The workflow has multiple trigger configurations or a retry setting that causes the webhook POST to run more than once.
Solution: Check the Workflow's trigger settings for duplicate schedule configurations. Review error handling blocks — if a retry is configured, a temporary network hiccup could cause the POST to execute twice. For idempotency, consider adding a database record of sent notifications and checking it before posting to Chanty.
Best practices
- Store Chanty webhook URLs in Retool Configuration Variables rather than hardcoding them in queries — this makes it easy to update if the webhook URL changes.
- Create separate webhook URLs for different notification types (alerts vs. digests vs. deployments) so teams can subscribe only to the channels relevant to them.
- Always chain Chanty notification queries as a success handler of the primary action — never fire notifications before the underlying action has confirmed success.
- Keep message content concise and actionable — include only the most critical context (what happened, the key value/ID, and a link for more detail) rather than lengthy data dumps.
- Use Retool Workflow's error handler blocks to send Chanty alerts when the workflow itself fails — this turns the notification system into self-monitoring infrastructure.
- Add conditional logic to high-frequency Retool actions so Chanty notifications only fire when thresholds are met — avoid notification fatigue by reserving messages for genuinely important events.
- Test webhook integrations by manually running queries in the Retool editor before wiring them to app event handlers — this confirms the integration works before users trigger it.
- For multi-team Retool deployments, document which Chanty channels each webhook connects to in the resource's description field — this prevents confusion about where notifications will be sent.
Alternatives
Slack offers a far more extensive API ecosystem with dedicated Retool native integration support, app manifests, interactive messages, and blocks — making it a more capable choice for complex notification workflows than Chanty's webhook-focused integration.
Microsoft Teams supports incoming webhooks similar to Chanty but also offers Adaptive Cards for richer message formatting and deeper Microsoft 365 ecosystem integration.
Flock provides both webhook-based notifications and a more complete Bot API with OAuth for read access to team data, offering slightly more programmatic control than Chanty's current API surface.
Frequently asked questions
Does Retool have a native Chanty connector?
No, Retool does not have a dedicated native Chanty connector. Integration is achieved through Chanty's incoming webhooks — you configure a REST API Resource in Retool pointing to the Chanty webhook URL and POST JSON messages to it. This approach covers the primary use case of sending operational notifications from Retool to Chanty channels.
Can Retool read messages from Chanty or respond to user commands?
Chanty's API is primarily designed for outbound notifications via webhooks rather than bidirectional integration. Reading messages, responding to commands, or building a Chanty bot with Retool would require Chanty to have a more complete REST API or Retool Webhook trigger support. For interactive bot-style integrations, Slack or Microsoft Teams offer more complete developer APIs.
What message formatting does Chanty support in webhooks?
Chanty supports basic Markdown in webhook messages: **bold**, _italic_, and [text](URL) for links. Line breaks in the JSON string (\n) create new lines in the Chanty message. More complex formatting like code blocks, tables, or interactive buttons (as in Slack's Block Kit) are not supported through Chanty's basic webhook integration.
Is a Chanty Business plan required for webhook integrations?
Chanty's incoming webhook integrations are available on the Business plan and above. The free plan has limited integration support. Check Chanty's current pricing page for the latest plan details, as integration capabilities are updated periodically.
How do I send Chanty notifications to different channels based on the type of alert?
Create separate incoming webhook URLs in Chanty for each channel, store each URL as a separate Retool Configuration Variable (e.g., CHANTY_WEBHOOK_ALERTS, CHANTY_WEBHOOK_DIGEST), and create separate Retool queries for each notification type that reference the appropriate webhook URL. Use event handler chaining to trigger the correct query based on the action performed in your Retool app.
Talk to an Expert
Our team has built 600+ apps. Get personalized help with your project.
Book a free consultation