| name | replit-webhooks-events |
| description | Handle Replit deployment events, build Replit Extensions, and set up Agents & Automations.
Use when integrating with Replit deployment lifecycle, building workspace extensions,
or creating automated workflows with Replit Agent.
Trigger with phrases like "replit webhook", "replit events", "replit extension",
"replit automation", "replit notifications", "replit agent automation".
|
| allowed-tools | Read, Write, Edit, Bash(curl:*) |
| version | 1.12.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
| tags | ["saas","replit","webhooks","extensions","automation"] |
| compatibility | Designed for Claude Code, also compatible with Codex and OpenClaw |
Replit Webhooks & Events
Overview
Integrate with Replit's event ecosystem: deployment lifecycle hooks, Replit Extensions API for workspace customization, and Agents & Automations for scheduled tasks and chatbots. Also covers external webhook endpoints hosted on Replit.
Prerequisites
- Replit account with Deployments enabled (Core or Teams)
- For Extensions: familiarity with React and TypeScript
- For Automations: Replit Agent access
Instructions
Step 1: Deployment Lifecycle Monitoring
Monitor deployment events by polling or building a status dashboard:
import express from 'express';
const app = express();
app.use(express.json());
app.get('/health', async (req, res) => {
res.json({
status: 'healthy',
environment: process.env.REPL_SLUG,
region: process.env.REPLIT_DEPLOYMENT_REGION,
deployedAt: process.env.REPLIT_DEPLOYMENT_TIMESTAMP || 'unknown',
uptime: process.uptime(),
});
});
app.get('/api/readiness', async (req, res) => {
const checks = {
database: await checkDB(),
storage: (),
: (),
};
allHealthy = .(checks).();
res.(allHealthy ? : ).({ : allHealthy, checks });
});
(): <> {
{
{ } = ();
pool = ({ : process.. });
pool.();
pool.();
;
} { ; }
}
(): <> {
{
{ } = ();
storage = ();
storage.({ : });
;
} { ; }
}
(): {
required = [, ];
required.( !!process.[k]);
}