Skip to main content
RudderStack is a Customer Data Platform (CDP) that enables you to collect, route, and process event data from your websites, mobile apps, and servers to various downstream destinations. Webhooks in RudderStack allow you to send real-time event data to external systems via HTTP requests. By configuring RisingWave as a webhook destination, you can ingest and process RudderStack events directly within your database for real-time analytics and processing. This guide will walk through the steps to set up RisingWave as a destination for RudderStack webhooks.
New to RisingWave webhooks? Before configuring RudderStack, it’s recommended to run a quick local smoke test to confirm your RisingWave webhook listener is reachable and your table is ingesting events. See Webhook endpoint and Quick local smoke test.

1. Create a table in RisingWave

Next, create a table configured to accept webhook data from RudderStack.
Or you can also use raw string for verification without secret:

2. Set up webhook in RudderStack

After configuring RisingWave to accept webhook data, set up RudderStack to send events to your RisingWave instance.

RisingWave webhook URL

The webhook URL should follow this format:

Configure webhook in RudderStack

For more detailed instructions, refer to the RudderStack documentation.
1
Access RudderStack Dashboard: Log in to your RudderStack dashboard.
2
As a CDP, RudderStack allow your build your own data pipeline. To sink data into RisingWave, you first need to have data sources. You can build your sources following the guidance. After creating your source, in the left sidebar, click on Collect > Destinations > New Destination.
3
Choose Webhook as the Destination:
  • Search for webhook in the list of available destinations.
  • Select webhook and proceed to configure it.
4
Configure the webhook settings:
  • Name destination: Specify the name of your webhook destination.
  • Connect Sources: Choose the data source you want to push to RisingWave from.
  • Webhook URL: Enter your RisingWave webhook URL.
  • URL Method: Select POST.
  • Headers: Keep the content-type: application/json unchanged. Add an Authorization header with the value set to your secret string (‘TEST_WEBHOOK’ or the secure string you used when creating test_secret in RisingWave).
    • Header Key: Authorization (Or replace with the value you like, make sure it’s aligned with the CREATE TABLE DML SQL).
    • Header Value: TEST_WEBHOOK (replace with your actual secret).
5
Save and Activate the Destination:
  • Review your settings.
  • Click continue to activate the webhook destination.

3. Push Data from RudderStack via Webhook

With the webhook configured, RudderStack will automatically send HTTP POST requests to your RisingWave webhook URL whenever there are data generated from the connected source. RisingWave will receive these requests, validate the signatures, and insert the payload data into the target table.

4. Further event processing

The data in the table is already ready for further processing. You can access the fields using data->'field_name' in SQL queries. You can create a materialized view to extract specific fields from the JSON payload.
You can now query rudderstack_events like a regular table to perform analytics, generate reports, or trigger further processing.