Keep a searchable record of failed payment intents
Turn each failed payment intent into a ClickHouse record your team can query when investigating payment issues.
Trigger
Payment Intent Failed Trigger
Triggered when a payment intent fails in Stripe
Action
Execute ClickHouse Query
Execute a sql query in clickhouse and return the results. this is the primary action for querying data from clickhouse databases.
Why this helps
Failure details are easy to lose across Stripe screens, support threads, and follow-up tasks.
- Keep a central history of failed payment intents.
- Query failure patterns alongside your other analytics.
- Avoid manually copying payment details into a separate log.
Setup
Build it in a few focused steps.
- 1Connect Stripe and ClickHouse once in the Notis portal.
- 2Create an automation in Automations, New Automation, and give it a clear name.
- 3Tell Notis to inspect the available ClickHouse schema and record each failed payment intent using fields supported by the event and destination table.
- 4Pick the Stripe Payment Intent Failed trigger and choose where run reports should go.
- 5Test with one real failed payment intent and confirm the record in ClickHouse.
Questions about this workflow
Will this assume a ClickHouse table already exists?
The instruction asks Notis to inspect the schema first. If no suitable table exists, provide the table and column details or create one before relying on inserts.
Can I use this for failure analysis?
Yes. The resulting records can be queried in ClickHouse to explore failure patterns supported by the stored fields.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Stripe to ClickHouse. A trigger fires from one place; an action lands in another.
Stripe triggers
ClickHouse actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Execute ClickHouse Query
Execute a sql query in clickhouse and return the results. this is the primary action for querying data from clickhouse databases.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Get Database Schema
Get comprehensive schema overview of an entire database including all tables and optionally their column definitions. essential for ai agents to understand the complete database structure in a single call.
Charge Failed Trigger
Triggered when a direct charge fails in Stripe's legacy Charges API
Get Table Schema
Get detailed schema information for a specific table including column definitions, types, keys, and optionally sample data. this is essential for ai agents to understand table structure before constructing queries.
Checkout Session Completed Trigger
Triggered when a checkout session is completed in Stripe
List ClickHouse Databases
List all databases in the clickhouse instance. useful for discovering available databases before querying tables.
Invoice Payment Succeeded Trigger
Triggered when an invoice payment is successful in Stripe
List ClickHouse Tables
List tables in clickhouse databases. returns information about tables including their engine, size, and row count.
Payment Intent Failed Trigger
Triggered when a payment intent fails in Stripe
Product Created Trigger
Triggered when a product is created in Stripe
Subscription Added Trigger
Triggered when a subscription is added in Stripe
Connect any two apps with Notis in the middle.
Stripe and ClickHouse, or any other combination from 1,000+ integrations.
When this happens · Trigger
Do this · Action
Save your first hour today.
7-day trial of any paid plan, with 20$ of usage included.
No card. Works with personal or business ClickHouse.