Introduction to Webhooks

Webhooks are a powerful way to integrate Forge with external services and automate your workflow. They allow you to trigger actions in Forge or receive notifications when events occur.

Available to All Plans: Webhooks are available on all Forge plans, including Free accounts.

What are Webhooks?

Webhooks are HTTP callbacks that send requests to your specified URL when certain events occur. They provide a simple way to connect Forge with your existing tools and workflows.

You've likely encountered webhooks if you've used services like IFTTT, Zapier, or set up Slack integrations. They're a clean and easy way to trigger real-time responses to events and pass information between services.

Types of Webhooks in Forge

Incoming Webhooks

Allow external services to trigger actions in Forge by sending HTTP requests to specific URLs.

  • Redeploy Webhook: Trigger site deployments from external services
  • Perfect for: CI/CD integration, Slack commands, automated workflows
  • Simple setup: Copy your webhook URL and use it in any HTTP client
Learn about Incoming Webhooks →

Outgoing Webhooks

Forge sends HTTP requests to your endpoints when specific events occur on your sites.

  • Deployment Events: Notifications for successful and failed deployments
  • Form Submissions: Real-time notifications when forms are submitted
  • Plugin Analysis: Security analysis completion notifications
  • Rich Data: Access to form fields, site metadata, and more
Learn about Outgoing Webhooks →

Key Benefits

Real-time Integration

Connect Forge with your existing tools and services for seamless workflows.

Automation

Automate repetitive tasks and reduce manual intervention in your deployment process.

Team Collaboration

Keep your team informed with instant notifications via Slack, Discord, or email.

Custom Workflows

Build custom integrations that fit your specific needs and processes.

Common Use Cases

CI/CD Integration

Trigger deployments automatically after successful builds in your CI/CD pipeline.

Team Notifications

Send deployment status and form submission notifications to your team via Slack or Discord.

Lead Management

Automatically send form submissions to your CRM or lead management system.

Monitoring & Alerts

Set up alerts for failed deployments or security issues.

Analytics & Tracking

Track deployment frequency, form submissions, and other metrics in external systems.

Custom Integrations

Connect Forge with any service that accepts HTTP requests.

Getting Started

Ready to start using webhooks? Choose the type that fits your needs:

Want to trigger actions in Forge?

Use Incoming Webhooks to trigger deployments or other actions from external services.

Learn about Incoming Webhooks

Want to receive notifications from Forge?

Use Outgoing Webhooks to receive notifications when events occur on your sites.

Learn about Outgoing Webhooks

Security & Best Practices

Keep Tokens Secure

Never share your webhook URLs publicly or commit them to version control. They contain sensitive authentication tokens.

Use HTTPS

Always use HTTPS endpoints for production webhooks to ensure secure transmission of data.

Validate Requests

Implement proper validation in your webhook handlers to ensure requests are legitimate.

Handle Failures

Design your webhook endpoints to handle failures gracefully and be idempotent.

Need Help?

If you need assistance with webhooks:

  • Check the specific documentation for Incoming Webhooks or Outgoing Webhooks
  • Review the examples and templates provided in the detailed guides
  • Test your webhooks using the built-in testing features
  • Contact Forge support if you encounter issues

Join the Discussion

Have questions or want to share your experience? Join our community discussion to connect with other developers and get help from the Forge team.

Visit Forum Discussion