<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Sameer Deshmukh</title>
    <description>The latest articles on DEV Community by Sameer Deshmukh (@sameer_deshmukh_d353043fd).</description>
    <link>https://dev.to/sameer_deshmukh_d353043fd</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3344631%2Faff8bbc0-1257-43a7-8763-a62269ef0439.png</url>
      <title>DEV Community: Sameer Deshmukh</title>
      <link>https://dev.to/sameer_deshmukh_d353043fd</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sameer_deshmukh_d353043fd"/>
    <language>en</language>
    <item>
      <title>n8n Integration for ClickHouse - Full CRUD, Triggers &amp; AI Agent Support</title>
      <dc:creator>Sameer Deshmukh</dc:creator>
      <pubDate>Thu, 19 Mar 2026 10:39:32 +0000</pubDate>
      <link>https://dev.to/sameer_deshmukh_d353043fd/n8n-integration-for-clickhouse-full-crud-triggers-ai-agent-support-3b0b</link>
      <guid>https://dev.to/sameer_deshmukh_d353043fd/n8n-integration-for-clickhouse-full-crud-triggers-ai-agent-support-3b0b</guid>
      <description>&lt;p&gt;Hi ClickHouse community!&lt;/p&gt;

&lt;p&gt;I wanted to share a project I've been working on: &lt;strong&gt;n8n-nodes-clickhouse-db&lt;/strong&gt; - a comprehensive ClickHouse integration for the &lt;a href="https://n8n.io" rel="noopener noreferrer"&gt;n8n&lt;/a&gt; workflow automation platform.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is n8n?
&lt;/h2&gt;

&lt;p&gt;n8n is an open-source workflow automation tool (like Zapier but self-hostable). It lets you connect APIs, databases, and services with a visual workflow builder.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why This Matters for ClickHouse Users
&lt;/h2&gt;

&lt;p&gt;This integration lets you:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Automate data pipelines&lt;/strong&gt; - Pull data from any API and insert into ClickHouse&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Build real-time dashboards&lt;/strong&gt; - Query ClickHouse and push results to Slack, email, etc.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Event-driven workflows&lt;/strong&gt; - Trigger workflows when new data arrives in ClickHouse&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AI-powered analytics&lt;/strong&gt; - Let LLMs query your ClickHouse data via natural language&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Features
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Full CRUD + Schema Operations:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Parameterized queries (&lt;code&gt;{param:Type}&lt;/code&gt; syntax)&lt;/li&gt;
&lt;li&gt;Batch inserts (up to 100k rows per batch)&lt;/li&gt;
&lt;li&gt;Upsert with ReplacingMergeTree auto-detection&lt;/li&gt;
&lt;li&gt;Update/Delete with WHERE clauses&lt;/li&gt;
&lt;li&gt;Create tables with schema inference&lt;/li&gt;
&lt;li&gt;List databases/tables, get table info&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;ClickHouse Cloud Native:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;HTTPS + port 8443 support&lt;/li&gt;
&lt;li&gt;JWT Bearer token auth for SSO&lt;/li&gt;
&lt;li&gt;Tested on ClickHouse 22.x - 26.x&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Polling Trigger:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Monitor tables for new rows&lt;/li&gt;
&lt;li&gt;Track cursor via monotonically increasing columns&lt;/li&gt;
&lt;li&gt;Custom query mode for complex triggers&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Security Hardened:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;SQL injection protection with strict validation&lt;/li&gt;
&lt;li&gt;138 tests including penetration test suite&lt;/li&gt;
&lt;li&gt;Settings allowlist (53 approved settings)&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Example Use Cases
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Webhook → ClickHouse&lt;/strong&gt;: Receive webhooks and insert events directly&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;ClickHouse → Slack&lt;/strong&gt;: Alert when metrics exceed thresholds&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;API → Transform → ClickHouse&lt;/strong&gt;: ETL from REST APIs&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AI Agent&lt;/strong&gt;: "Show me the top 10 customers by revenue last month"&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Installation
&lt;/h2&gt;

&lt;p&gt;If you use n8n, install via:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Settings → Community Nodes → Install → n8n-nodes-clickhouse-db
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Links
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;npm:&lt;/strong&gt; &lt;a href="https://www.npmjs.com/package/n8n-nodes-clickhouse-db" rel="noopener noreferrer"&gt;https://www.npmjs.com/package/n8n-nodes-clickhouse-db&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;GitHub:&lt;/strong&gt; &lt;a href="https://github.com/sameerdeshmukh/n8n-nodes-clickhouse" rel="noopener noreferrer"&gt;https://github.com/sameerdeshmukh/n8n-nodes-clickhouse&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;n8n:&lt;/strong&gt; &lt;a href="https://n8n.io" rel="noopener noreferrer"&gt;https://n8n.io&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Roadmap
&lt;/h2&gt;

&lt;p&gt;Planning to add:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Materialized View management&lt;/li&gt;
&lt;li&gt;Mutations monitoring&lt;/li&gt;
&lt;li&gt;Part &amp;amp; partition management&lt;/li&gt;
&lt;li&gt;Dynamic column schema loading&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Would love feedback from the ClickHouse community on what features would be most useful!&lt;/p&gt;




&lt;h1&gt;
  
  
  clickhouse #n8n #automation #etl #analytics
&lt;/h1&gt;

</description>
      <category>clickhouse</category>
    </item>
  </channel>
</rss>
