logo
  • Core Gateway
  • Pricing
  • Install Convoy
  • Install Convoy
Blog
Product Update

Meta Events and On-The-Fly Events

3 min read June 29, 2023

Written by

Dotun Jolaoso
Dotun Jolaoso

Backend Engineer

Share

Introduction

Welcome to day 4 of Convoy Launch week! We are thrilled to unveil On-The-Fly events and Meta events, these features will enrich your webhook experience with Convoy.

In this article, we will delve into how we’ve simplified the integration process with Convoy providing just a single API endpoint to help you get started with sending events. We also added Meta events, a feature that provides you with Webhook notifications for specific events happening within your Convoy project.

Meta Events

Meta events are operational events generated by Convoy for specific activities happening within your Convoy project. This allows you to subscribe and listen for events and perform any action based on these events within your own internal systems, providing a seamless headless experience. Convoy uses webhooks to notify you of these events.

Types of event

At the moment, these are the events we currently support with plans to add some more later in the future.

EventDescription
endpoint.createdAn endpoint was created
endpoint.updatedAn endpoint was updated
endpoint.deletedAn endpoint was deleted
eventdelivery.successAn event delivery was successful
eventdelivery.failedAn event delivery failed

Here’s an example of the sample payload sent with an endpoint.created event

{
  event_type: "endpoint.created",
  data: {
    uid: "01H3FRSZYKNYWGPVV46RN98PM5",
    title: "testes",
    status: "active",
    secrets: [
      {
        uid: "01H3FRSZYKNYWGPVV46T42NYA8",
        value: "Vuk5LM0uujddIsqO5v_eSuz88",
        created_at: "2023-06-21T21:02:19.73106+01:00",
        deleted_at: null,
        expires_at: null,
        updated_at: "2023-06-21T21:02:19.73106+01:00"
      }
    ],
    owner_id: "582b0124-b0fe-45e0-9063-86877f797647",
    created_at: "2023-06-21T21:02:19.73104+01:00",
    deleted_at: null,
    project_id: "01H28MWP1TQV5AC5QR54BSX8HJ",
    rate_limit: 5000,
    target_url: "https://dashboard.getconvoy.io/ingest/GzuS7KiIFPyyFrG5",
    updated_at: "2023-06-21T21:02:19.73104+01:00",
    description: "testing endpoint",
    http_timeout: "10s",
    authentication: null,
    advanced_signatures: false,
    rate_limit_duration: "1m0s"
  }
}

Meta events are completely optional and can be turned on under the Project settings page. All you need to do is provide a webhook URL to receive these events, a secret for signing the payload (optional) and the events you would like to subscribe to.

meta-event-form.png

You can also view a list of all your Meta events.

meta-events.png

On-The-Fly Events

We received several requests in our community slack, asking if Convoy allowed endpoint information to be specified in the same API call as the event payload. The flow initially looked like this:

on-the-fly-event-old.png

With the addition of the On-The-Fly Event API, you can now do all that in one call:

on-the-fly-event-new.png

Convoy will implicitly create the endpoint, create the subscription and then dispatch the event. If an endpoint with the same target url already exists, then Convoy will update all other parameters and endpoint configuration with your provided data. This brings flexibility for use cases where endpoint data is expected to change frequently, allowing their workflow to be more efficient. For the subscription, if the subscription config is absent from the request body, default configuration will be applied when the subscription is created newly. If the subscription already exists, the supplied config in the request body will be used as if in an upsert operation.

This feature enables developers to dynamically define and update endpoint information on the fly, providing greater adaptability in their applications. In a dynamic environment or rapidly evolving system, this feature becomes invaluable. Developers can easily modify endpoint information as needed through a single call, ensuring that the endpoint data in Convoy remains up to date.

What’s Next?

We plan on taking your feedback and improving on all of these features. For example, a future iteration on Meta events is to enable delivery via other channels asides from HTTP such as Pub/Sub platforms like Google Pub/Sub and Amazon SQS.

Stay tuned for more updates. Interested in giving Convoy a go? Join our community slack here and give us feedback!

← Previous articleNohooks: Webhooks for Platforms without WebhooksNext article →Efficient product communication using Webhook Gateways

Related Posts

Convoy now ships with a simpler architecture.

September 11, 2024

In our latest release, we’ve simplified Convoy’s architecture. In this article I describe a little bit more about the architecture and the benefits for Convoy.

Subomi Oluwalana
Subomi Oluwalana

Co-Founder & CEO

Convoy v24.4.1 Release Notes

April 30, 2024

Convoy v24.4.1 release has landed 🎉. We’ve been working on these improvements and we are super excited to share this release. These include a rate limiter backed by PostgreSQL, RabbitMQ message broker support, payload mutation using JavaScript functions for message broker sources, and lots of bug fixes.

Raymond Tukpe
Raymond Tukpe

CTO

Announcing Convoy’s Managed Service

November 06, 2023

Presenting Convoy's all-new cloud platform. Tailored to simplify webhooks management like never before, join us as we unveil our exciting new cloud offering featuring dedicated instances, expanded regional availability, competitive pricing, industry standard security, and uncompromising compliance.

Raymond Tukpe
Raymond Tukpe

CTO

Access Control & Advanced Portal Links

June 30, 2023

Welcome to day 5 of Convoy Launch week! We are thrilled to unveil two exciting features, Access Controls & Advanced Portal Links, that will elevate your experience with Convoy. In this article, we will delve into these groundbreaking features and explore the immense value they bring to Convoy's offering. Whether you're a developer seeking flexibility and efficiency or a user craving seamless access to event data, these features are designed to revolutionize the way you and your customers interact with Convoy.

Daniel Oluojomu
Daniel Oluojomu

Backend Engineer

logo

2261 Market Street, San Francisco, CA 94114

Companyaccordion icon

About Us

Trust Center

Terms of Use

Privacy Policy

DPA

Productaccordion icon

Open Source

Core Gateway

Self-Hosted Premium

Private Network

Convoy Playground

Use Casesaccordion icon

Fintech

AI & Machine Learning

Developer Tools

Healthcare

SaaS Platforms

E-commerce

Logistics

IoT & Devices

Resourcesaccordion icon

API Reference

Documentation

Blog

Status Page

Roadmap

What are Webhooks?

Convoy vs. Internal Implementation

Speak to usaccordion icon

Slack

[email protected]

Connect with us

Copyright 2026, All Rights Reserved

soc stamp