<?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: Blaze</title>
    <description>The latest articles on DEV Community by Blaze (@blaze_automates).</description>
    <link>https://dev.to/blaze_automates</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4074416%2F46669c7d-3965-40f3-9c5f-dcc6b70378a4.png</url>
      <title>DEV Community: Blaze</title>
      <link>https://dev.to/blaze_automates</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/blaze_automates"/>
    <language>en</language>
    <item>
      <title>Built a Pinterest affiliate automation system with n8n - AI images, auto-posting, dual cloud/local setup</title>
      <dc:creator>Blaze</dc:creator>
      <pubDate>Fri, 14 Aug 2026 09:48:29 +0000</pubDate>
      <link>https://dev.to/blaze_automates/built-a-pinterest-affiliate-automation-system-with-n8n-ai-images-auto-posting-dual-cloudlocal-bkh</link>
      <guid>https://dev.to/blaze_automates/built-a-pinterest-affiliate-automation-system-with-n8n-ai-images-auto-posting-dual-cloudlocal-bkh</guid>
      <description>&lt;p&gt;Been running an automated Pinterest affiliate system on n8n for a while, wanted to share the architecture since it's a genuinely fun workflow to build.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The pipeline:&lt;/strong&gt; AI-generated pin images (Cloudflare Workers AI / FLUX.1) → rendered through a custom Puppeteer server → AI-written titles and descriptions (Groq/Llama 3.3) → posted to Pinterest via Make.com webhooks. Product data lives in Google Sheets.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Infrastructure:&lt;/strong&gt; runs on both Railway (cloud, handles overnight posting) and a local Windows instance via NSSM, on non-overlapping schedules so they don't collide. Both point at the same Google Sheet, split across three tabs (product data, posting state, performance tracking).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Real numbers from the last 30 days:&lt;/strong&gt; impressions up 110%, engagements up 250%, engaged audience up 100%. Growing steadily week over week.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F710lpkv3ewr9bremm0qm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F710lpkv3ewr9bremm0qm.png" alt=" " width="800" height="302"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;A couple of specific bugs I had to solve along the way: Pinterest's API silently truncates descriptions over 800 characters (had to add a safe-truncate function), and an intermittent Pinterest error code that needed retry-on-fail logic to handle reliably.&lt;/p&gt;

&lt;p&gt;Happy to go into more detail on any part of the setup if people are curious, particularly the dual cloud/local scheduling or the image generation pipeline.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>automation</category>
      <category>marketing</category>
      <category>showdev</category>
    </item>
    <item>
      <title>How I Automated My AI Coding Assistant's Memory Using Git Hooks and n8n</title>
      <dc:creator>Blaze</dc:creator>
      <pubDate>Wed, 12 Aug 2026 09:01:12 +0000</pubDate>
      <link>https://dev.to/blaze_automates/how-i-automated-my-ai-coding-assistants-memory-using-git-hooks-and-n8n-jl4</link>
      <guid>https://dev.to/blaze_automates/how-i-automated-my-ai-coding-assistants-memory-using-git-hooks-and-n8n-jl4</guid>
      <description>&lt;p&gt;I kept running into the same problem: every time I opened a new chat in Cursor, I'd have to re-explain the same architecture decisions, conventions, and gotchas about my codebase. The AI could see my code, but it had no idea &lt;em&gt;why&lt;/em&gt; things were built a certain way.&lt;/p&gt;

&lt;p&gt;So I automated it.&lt;/p&gt;

&lt;h2&gt;
  
  
  The idea
&lt;/h2&gt;

&lt;p&gt;Every time you commit code, a small script watches for it, sends the diff to an AI, and asks a simple question: does this commit reveal anything durable worth remembering? If yes, it gets added to a living context file. If it's just a typo fix or formatting change, nothing happens.&lt;/p&gt;

&lt;h2&gt;
  
  
  How it works
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;1. A git post-commit hook&lt;/strong&gt; fires automatically after every commit. It grabs the diff and the current context file, and sends both to a webhook.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. An n8n workflow receives it&lt;/strong&gt;, and passes the diff to an AI model (I used Groq's Llama 3.3, mainly for cost and speed) with a system prompt like:&lt;/p&gt;

&lt;p&gt;"Given the EXISTING context file and a NEW COMMIT, add any new durable, reusable knowledge this commit reveals. Do not duplicate existing info. If nothing durable, return the file unchanged."&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. The AI's response gets written back&lt;/strong&gt; to a CONTEXT.md file in the repo, and also copied into Cursor's rules folder (.cursor/rules/) so it auto-loads in every chat without manually tagging it.&lt;/p&gt;

&lt;h2&gt;
  
  
  The result
&lt;/h2&gt;

&lt;p&gt;Same question, asked before and after a commit that explained a design decision:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Before:&lt;/strong&gt; generic textbook answer about the concept in general.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;After:&lt;/strong&gt; specific answer referencing the actual reasoning from the commit.&lt;br&gt;
  &lt;iframe src="https://www.youtube.com/embed/eUNE-IExRIc"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;h2&gt;
  
  
  Things that were harder than expected
&lt;/h2&gt;

&lt;p&gt;A few real gotchas from building this:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Windows services often run under a different environment than your normal user account, which broke basic things like PATH resolution for git&lt;/li&gt;
&lt;li&gt;Cloud sync folders (OneDrive, etc.) can silently interfere with file writes&lt;/li&gt;
&lt;li&gt;Passing large AI-generated content through command-line arguments hits length limits fast, better to write files directly from code&lt;/li&gt;
&lt;li&gt;n8n's binary data storage mode isn't always a plain base64 string depending on configuration, worth checking before assuming a simple decode will work&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Try it yourself
&lt;/h2&gt;

&lt;p&gt;The whole setup is just a git hook + an n8n workflow, both plain files you can inspect and modify. I packaged a ready-to-import version with a setup guide if you'd rather skip the build: &lt;a href="https://blazeautomates.gumroad.com/l/auvorx" rel="noopener noreferrer"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Happy to answer questions about the node setup, the webhook design, or anything else in the comments.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>productivity</category>
      <category>automation</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
