Skip to content

Instantly share code, notes, and snippets.

View heypressgo's full-sized avatar

James H heypressgo

View GitHub Profile
@heypressgo
heypressgo / gist:e06c954bd8699aeda8478442a7a384a2
Created December 3, 2025 05:33 — forked from Neel738/gist:e377ea0a03420609603a8e6a301a519d
using n8n to auto-categorise incoming emails (read the red sticky note man)
{
"nodes": [
{
"parameters": {
"text": "=# Email Text\n## Subject\n {{ $json.Subject }}\n\n## From\n{{ $json.From }}\n\n## Body\n{{ $json.snippet }}\n\n# Instructions\nPlease reply in JSON. No MD Json, but just json, your response must be EXCLUSIVELY JSON. Please include all categories. If not applicable, score a 0. \n\nALL SCORES ARE BETWEEN 0-1 ( WHERE 0 is not at all , and 1 is extremely so). Beware of scammers trying to 'convince' you its urgent. Really try to score between 0 and 1 , (float) \n\n",
"schemaType": "fromJson",
"jsonSchemaExample": "{\n \"categories\": {\n\n \"Business/Collaboration Inquiries\": {\n \"Paid Partnerships/Endorsements\": 0.95,\n \"Press/Media Requests\": 0.85,\n \"Event Invitations\": 0.70,\n \"Contractual/Legal\": 0.50\n },\n \"Fan Messages\": {\n \"Praise/Appreciation\": 0.90,\n \"Personal Stories\": 0.80,\n \"Requests for Interaction\": 0.60,\n \"Gift/Donation Offers\": 0.40\n },\n \"S

Using Git to Manage a Live Web Site

Overview

As a freelancer, I build a lot of web sites. That's a lot of code changes to track. Thankfully, a Git-enabled workflow with proper branching makes short work of project tracking. I can easily see development features in branches as well as a snapshot of the sites' production code. A nice addition to that workflow is that ability to use Git to push updates to any of the various sites I work on while committing changes.

Contents