Latest / AI Fire Daily / #06 Max: 28 Hidden n8n Tricks for Automation Wizards (Part 1) – Keyboard, Data & Organization Secrets
Transcript
- 0:00All right. Welcome to the deep dive. This one,
- 0:03this is really built just for you. You know,
- 0:04someone who wants to get smarter with this stuff
- 0:07faster without getting totally swamped. Yeah,
- 0:10exactly. We're like cutting through the noise.
- 0:12We are. And today we're diving deep into NEN
- 0:15automation workflows. But we're going way past
- 0:19the usual stuff. We're talking about finding
- 0:21those like hidden tricks, the ones most people
- 0:24don't even know are there. Right. The kind of
- 0:26things that can. genuinely level up how you build
- 0:29automations make a real difference. Oh, for sure.
- 0:31And we're using this great article as our guide.
- 0:33It's called 28 NEN Tricks for Automation Workflow
- 0:36Mastery, Part 1. And yeah, it's pretty dense.
- 0:41It promises those aha moments. Yeah. I think
- 0:44it delivers. It really does. So our goal today,
- 0:47pull out the absolute best, most actionable stuff
- 0:50from this first part. We want to help you go
- 0:52from just, you know, using NEN to, well... The
- 0:55article calls it an automation wizard, which
- 0:56sounds kind of cool. Yeah, yeah, it does sound
- 0:59cool. But practically speaking, it's about boosting
- 1:01your productivity. The article even mentions
- 1:03maybe being like 10 times more productive. Which
- 1:06would be amazing. And also building stuff that's,
- 1:08you know, more solid, more resilient, less likely
- 1:12to just fall over. Or robust, yeah. exactly handling
- 1:15things better so this part one covers 28 tricks
- 1:18kind of breaks down into keyboard shortcuts which
- 1:21sound basic but trust me they aren't then data
- 1:25handling organizing your workflows and some uh
- 1:28more advanced data stuff too it's a really solid
- 1:31foundation they lay out okay let's jump in then
- 1:33first section Becoming a keyboard ninja. Ah,
- 1:37yes. Getting away from the mouse. It seems small,
- 1:39but honestly, the speed difference is huge. The
- 1:41source basically says your mouse is in a bottleneck,
- 1:43like full stop. Totally. And just keeping your
- 1:46hands on the keyboard. It helps you stay in the
- 1:48zone, you know. Less context switching. Right.
- 1:51So the first few are maybe things you know, but
- 1:53they're essential. Plus and minus for Zoom. You
- 1:55need that control. Yeah. Basic, but you use it
- 1:58all the time to either focus in or see the big
- 2:00picture. But here's where navigation gets really
- 2:02neat. The instant view adjustments. Like pressing
- 2:05one, boom, your whole workflow fits on the screen
- 2:07instantly. Oh that is so handy like just for
- 2:10like getting your bearings or finding that one
- 2:12node you lost track of. I use one constantly
- 2:15and zero is your centers whatever you've got
- 2:17selected perfectly no more fiddly dragging. Yeah
- 2:20saves a lot of frustration especially on complex
- 2:22canvases a real sanity saver. And then node hopping
- 2:26select a node then just use the arrow keys zip
- 2:28between connected nodes super fast. Way way quicker
- 2:31than clicking especially when things are kind
- 2:33of clustered together and if you hit the rest
- 2:35Enter on a selected node. Instantly opens the
- 2:38parameters panel. Love that one. Yep. Quick editing
- 2:40access. And, you know, the classic Kuti ILE CMD
- 2:44plus A, select everything for moving big chunks
- 2:47or copying. Standard shortcut. But yeah, essential
- 2:50in Andan for managing those larger workflows.
- 2:53Okay, now for the real speed stuff. The instant
- 2:55node menu, the tab trick. Man, this might be
- 2:58my favorite simple one. Forget clicking the big
- 3:00plus sign. Just hit tab. anywhere yeah and that
- 3:03node search menu just pops right up cursor blanking
- 3:05ready to go start typing hit enter bam note added
- 3:09it shaves off these tiny moments that just add
- 3:11up like crazy it's one of those things that feels
- 3:14minor until you start doing it that it feels
- 3:15massive and the next one builds on it smart connections
- 3:18select node then hit tab type your next node
- 3:22hit enter and it automatically connects it just
- 3:24chains them together that right there is like
- 3:27the core of building workflows super fast. It
- 3:29feels really intuitive, you know, like you're
- 3:31just thinking the workflow into existence. And
- 3:33for running it, CDRL CMD plus enter, quick workflow
- 3:37execution. Yep, faster than clicking the button.
- 3:39Keeps the hands on the keyboard. Speaking of
- 3:41hands on the keyboard, CTRL CMD plus S save all
- 3:46the time. It's muscle memory. Yes. The source
- 3:49really emphasizes this. NEN does autosave, but
- 3:52hitting save manually creates more fine -grained
- 3:55recovery points in the history. Yeah. Super important
- 3:57if, you know, your browser decides to crash.
- 3:59Okay. Or you just make a mistake, which happens.
- 4:03Oh, yeah. Been there. That history feature is
- 4:05a lifesaver. Definitely. Okay. Moving on to pro
- 4:07selection. directional node selection use shift
- 4:11plus arrow keys select a node shift plus right
- 4:14arrow and it grabs that node plus everything
- 4:17downstream connected to it in that specific path
- 4:20shift plus left goes upstream it's way more precise
- 4:24than just dragging a selection box especially
- 4:26when your workflow gets tangled oh yeah for sure
- 4:28okay another quick one instant sticky notes shift
- 4:31plus s then click bam Little note right where
- 4:34you need it. Super fast. Yeah, just for jotting
- 4:37down a quick thought or reminder. We'll come
- 4:39back to making those notes even better later.
- 4:41Ooh, foreshadowing. Nice. And the last keyboard
- 4:45one here, deactivate. Activate nodes. The D key.
- 4:49Select a node. Hit D. And it just grays out.
- 4:52Gets skipped when the workflow runs. This is
- 4:55so useful for testing, right? Totally. Test just
- 4:57one part. Or disable something temporarily. Or
- 5:00maybe turn off a branch that's giving you trouble
- 5:02while you figure it out. Just toggle it on and
- 5:04off super quick. So why fuss over all these keyboard
- 5:07tricks? The source makes a pretty strong argument.
- 5:09It's that cumulative time saving, right? On a
- 5:11workflow with like 20, 30, maybe 50 nodes, the
- 5:15article suggests it could turn, say, three hours
- 5:17of clicking into maybe just 30 focused minutes.
- 5:21That's huge. Yeah. And it keeps you in that flow
- 5:23state. You're not constantly breaking your concentration,
- 5:25switching back and forth. It's like learning
- 5:28to touch type versus hunting and pecking for
- 5:30your automation building. That's a perfect analogy,
- 5:32actually. So we've sped up the how, but what
- 5:35about the what? The data itself. Exactly. Let's
- 5:39shift gears. Time for some data manipulation
- 5:41magic. Tricks to understand and shape that data
- 5:45flow effectively. Taming the data before it tames
- 5:47you. as the source puts it. I like that. Yeah,
- 5:49too. First up, the schema preview superpower.
- 5:53This is seeing the expected data structure before
- 5:55you run anything. Yeah. For nodes that talk to
- 5:58known services, think Airtable, OpenAI, Notion,
- 6:02whatever NA may, can often show you this kind
- 6:04of grayed out phantom preview in the output panel.
- 6:08It's what it thinks the data will look like.
- 6:10And the really cool part, you can actually drag
- 6:12fields from that phantom preview directly into
- 6:14your expression editors downstream. This is massive.
- 6:17You can start building your logic, mapping things
- 6:19out, before you even make the first real API
- 6:21call. It saves time, prevents typos because you're
- 6:23dragging, not typing field names. And saves API
- 6:27credits. Because you're not running it over and
- 6:29over just to see the structure. No more guesswork.
- 6:32It's like having the data blueprint before the
- 6:34data even arrives. So good. Okay, next. Pin and
- 6:39edit strategy. Stop wasting those API calls during
- 6:43testing. This is critical, especially with paid
- 6:45services like LLMs. Run the node that gets the
- 6:49data once. Get your output. Then hit P or click
- 6:52the little pin icon. And that locks in that exact
- 6:55data for that node. It won't run again when you
- 6:57test the workflow. It just uses the pin data.
- 6:59But the real power, like the article says, is
- 7:01you can click into that pin data and edit the
- 7:04JSON directly. Yes. simulate anything. What if
- 7:07a field is missing? What if a value is different?
- 7:09What if you get an error message? Just type it
- 7:10into the pin JSON. And then you can test all
- 7:13your downstream logic, your IF nodes, your error
- 7:15handling with controlled static data without
- 7:18making another real ATI call. It's huge for saving
- 7:21time and money. And it works for trigger nodes,
- 7:24too. You can run a trigger manually, pin the
- 7:26output, and then even paste in totally different
- 7:28JSON to simulate various incoming webhooks or
- 7:31events. Total simulation power. Yeah. Yeah, this
- 7:33is such an underrated feature for building robust
- 7:35workflows. For sure. Okay, one more quick one
- 7:37in this Davis section. The instant expression
- 7:40mode shortcut. Just typing. Oh, man, this saves
- 7:44so many clicks. Seriously. Right. Instead of
- 7:47click the field, click add expression, then type.
- 7:50Just type as the very first character in any
- 7:52field that takes expressions. And boom, you're
- 7:55instantly in expression mode, ready for your
- 7:57stuff. Yeah, you can just type hellojson .name
- 7:59straight away. Keeps you on the keyboard. Saves
- 8:00countless tiny clicks. So these data tricks,
- 8:03the schema preview, pin and edit, these shortcut,
- 8:06they really give you way more flexibility and
- 8:09confidence when you're building. Totally. You're
- 8:12working with data in a much more controlled,
- 8:14predictable, and... Yeah, cost -effective way.
- 8:18Builds better workflows. Okay, so we're building
- 8:19faster. We're handling data smarter. What's next?
- 8:22Keeping it all organized. Avoiding that, you
- 8:25know, spaghetti monster on the canvas. Workflow
- 8:27organization is key. Oh, gosh, yes. Trying to
- 8:30debug a messy workflow. Or hand it off. It's
- 8:33a nightmare. Good organization makes them maintainable,
- 8:35scalable, professional, really. First trick here
- 8:38builds on something earlier, smart sticky notes.
- 8:41Remember, shift plus S to create one, while the
- 8:44power up is markdown. Yes. You can use full markdown
- 8:47formatting inside sticky notes. Headings, bold,
- 8:51italics, bullet points, numbered lists, even
- 8:54links. It turns them from simple reminders into
- 8:56actual little documentation blocks right on the
- 8:59canvas. You can structure explanations. And the
- 9:01source even mentions embedding images. If you
- 9:04host an image somewhere with a direct link, you
- 9:07can use the .alt .rel markdown to show it right
- 9:09there. Kind of cool for diagrams or quick visual
- 9:11references. Definitely. Next up, purposeful color
- 9:14coding. Apply colors to nodes and sticky notes.
- 9:17Makes the whole workflow instantly easier to
- 9:19scan and understand, but... Consistency is key.
- 9:21You need a system. The article suggests one,
- 9:24like white for standard stuff, red for critical
- 9:26actions, yellow for important notes, green for
- 9:29success points, blue for maybe AI or communication
- 9:31notes, purple for utilities. But whatever system
- 9:35you choose, document it. Put a sticky note right
- 9:38there explaining your color code. Make it functional,
- 9:41not just pretty. Absolutely. And then note naming.
- 9:44Seriously, stop leaving nodes as set node 3 or
- 9:47HTTP request 2. Please, this sounds so basic,
- 9:51but in a complex flow, it's impossible to know
- 9:54what's going on otherwise. Set node 3 means nothing.
- 9:57Get new leads from Facebook ads tells you exactly
- 9:59what it does. Action plus object is a good formula.
- 10:02What does it do and what's it doing it to? Your
- 10:05future self will thank you. Anyone else looking
- 10:08at it will thank you. And there's a shortcut,
- 10:09F2. Or function, plus F2. Rename the node right
- 10:13on the canvas. No need to open the panel, just
- 10:15make it a habit. Rename it as soon as you know
- 10:17its purpose. Yes. Okay, next. Workflow history.
- 10:21The built -in N8 time machine. That little clock
- 10:24icon, top right. Saved my bacon more than once.
- 10:27You know, you make some improvements and suddenly
- 10:29everything's broken. Happens to the best of us.
- 10:31History shows you a list of saved versions, timestamps
- 10:34and all. You can restore an old version. Or,
- 10:36and this is great, you can clone an old version
- 10:39as a new workflow, perfect for trying stuff out
- 10:41without risking your working version, like branching.
- 10:44Yeah, great for experiments. You can also download
- 10:46the JSON for backup or if you want to compare
- 10:48versions. The source has this funny bit about
- 10:50how this feature saves developers from their
- 10:53own late -night brilliant ideas. Hey, yeah, sounds
- 10:56about right. Relatable. And remember, CTRL -CMD
- 10:59plus S saves frequently create more recovery
- 11:03points in that history. Good reminder. Okay,
- 11:06last one for organization. Environment variables.
- 11:10Using UNV. This is about putting configuration
- 11:12stuff like API URLs, maybe dev versus prod settings,
- 11:17non -secret tokens outside your workflow in a
- 11:20central manageable place. It's a huge step up
- 11:22for maintainability. No more hard coding that
- 11:25stuff directly in your nodes. Makes workflows
- 11:27cleaner and easier to move between different
- 11:29environments. Right. You set these variables
- 11:30outside on EDA, maybe in Docker or the .env file
- 11:33or your cloud platform settings, and then you
- 11:35access them in expressions using... Your variable,
- 11:38like to one dot APM point plus users. Or sometimes
- 11:42is variable to weird chars. It just separates
- 11:44your configuration from your actual automation
- 11:46logic. Much cleaner. So yeah, organization isn't
- 11:49just tidying up. It's building professional scalable
- 11:51blueprints. It really is the foundation for anything
- 11:53complex or long lasting. Okay, that brings us
- 11:56to the final section for this part one deep dive.
- 11:59Advanced data wizardry. Handling the really tricky
- 12:02stuff. Yeah, complex structures, time -sensitive
- 12:04data, making sure things don't break, handling
- 12:07lots of items. First up, J .M. Shah. The article
- 12:10calls it, like, SQL, but for JSON. Basically,
- 12:14yeah. If you're wrestling with supernested JSON...
- 12:17writing those crazy long game. We had json .data
- 12:20.item .zero .user .profile .contact .things.
- 12:23JamesPath might be your new best friend. It's
- 12:25a query language just for JSON, much cleaner
- 12:27syntax. Yeah. And Mesnaz supports it directly
- 12:29with JamesPath object expression. The source
- 12:32gives great examples, like grabbing all emails
- 12:34from a nested list, leads .interactions .type,
- 12:37email .email, or filtering and reshaping data,
- 12:40customers .age26, fullname .name, emailaddress
- 12:44.email. Wow, okay. That looks way simpler than
- 12:47trying to code that or use multiple set nodes.
- 12:49They recommend checking out jamiespath .org to
- 12:52learn it. Definitely worth it if you deal with
- 12:54complex JSON a lot. Okay, next, the datetime
- 12:58context trick. Using no dollar. Giving your workflows
- 13:01awareness of time, the now object is just there
- 13:05in expressions, ready to use. It's a lux indeed
- 13:08time object, which is powerful. So you can easily
- 13:10get the current timestamp, format dates, get
- 13:12the day of the week, even do math like adding
- 13:14seven days. But here's a critical tip from the
- 13:16source. Check your NAN instances time zone setting.
- 13:20Yes. in setting general mass time zone. If that's
- 13:22wrong, now might be UTC or your server's default,
- 13:26which can totally screw up scheduling or any
- 13:28logic based on local time. Good catch. Okay,
- 13:30quick one. Array string transformation using
- 13:33join and split. Simple but essential. Join separator
- 13:37turns an array like AB into a string like AB.
- 13:40Then split separator does the reverse, turns
- 13:42AB back into AB. Using .join or join in is super
- 13:47handy for formatting lists nicely, maybe for
- 13:50feeding into an AI prompt or just creating readable
- 13:53text output. Very useful. Next, JSON error prevention.
- 13:57This is about cleaning up user input before you
- 13:59stick it inside other JSON. Yeah, people type
- 14:02weird stuff, right? Quotes, new lines, backslashes.
- 14:05If you just blindly put JSON. dot user input
- 14:08and the input has a quote your whole json breaks
- 14:11the fix is using dot replace with regular expressions
- 14:14to escape those special characters like replacing
- 14:17hen and you might need to chain them the source
- 14:20suggests maybe escaping backslashes first then
- 14:23quotes then replacing literal new lines with
- 14:25the end character sequence you got to be careful
- 14:27before embedding raw input into json strings
- 14:29yeah the example was like input from a webhook
- 14:32you absolutely have to sanitize that before putting
- 14:34it in say an http request body that needs to
- 14:37be valid JSON. It prevents a lot of weird, hard
- 14:39-to -debug errors. OK, next, binary data handling,
- 14:42working with files, PDFs, images, et cetera,
- 14:44the stuff under the binary property. Right. And
- 14:47the problem is nodes like set might accidentally
- 14:49drop that binary data if you're not careful how
- 14:52you connect things. Yeah, the next node might
- 14:54get the file name, JSON part, but the actual
- 14:56file content, binary part, disappears. Solution
- 15:00one, the recommended one, use the merge node.
- 15:03Exactly. You feed the node with the binary data.
- 15:06like from a download node, into one input of
- 15:08the merge node and maybe a set node with metadata
- 15:11into the other input. The merge node intelligently
- 15:14combines them, making sure both JSON and binary
- 15:17properties survive in the output item. Solution
- 15:19two is the code node, but the source says it's
- 15:22more advanced and can be tricky. You have to
- 15:24manually return an object containing both properties.
- 15:27Merge is usually the way to go. The main idea
- 15:29is just be aware that intermediate nodes might
- 15:31drop the binary data unless you explicitly preserve
- 15:34it. Usually with merge. Gotcha. Okay. Trick 27
- 15:37marked as new. Item index. This pops up inside
- 15:41nodes that loop through lists. Right. It just
- 15:43gives you the number, the zero -based index of
- 15:45the item currently being processed in the loop.
- 15:47Which gives you really useful context inside
- 15:49that loop. Yeah. Think about naming files sequentially.
- 15:52Invoice item index plus one dot PDF. Or maybe
- 15:56doing something different for the first five
- 15:57items. I have index five. Or alternating actions
- 16:01based on even odd index. super handy oh i can
- 16:04definitely see uses for that and the final trick
- 16:07for part one number 28 also new the traffic controller
- 16:10split in batches node this is all about dealing
- 16:13with api rate limits ah yeah the classic problem
- 16:17you have 500 things to send to an api but it
- 16:20only allows say 10 requests per second connect
- 16:23an http request directly and boom errors everywhere
- 16:26so the solution take your list of 500 items feed
- 16:28it into the split in batches node first Tell
- 16:31it to break the list into smaller chunks, maybe
- 16:33batches of 10 in this case. Then process each
- 16:35batch, like with your HTTP request node, and
- 16:38crucially, after processing the batch, add a
- 16:40wait node. Exactly. Wait for maybe a second or
- 16:42two. This throttles your requests, keeps you
- 16:44under the API limit, prevents errors, makes you
- 16:46a good API citizen, and it even helps NAN manage
- 16:48memory better with large lists. That seems absolutely
- 16:52essential for any kind of bulk processing against
- 16:54external services. Totally. It makes those kinds
- 16:57of workflows actually reliable. Wow. Okay, that's...
- 17:01That's a lot. That's the 28 tricks from part
- 17:03one of the article. Yeah, we covered the keyboard
- 17:05speed stuff, the data handling magic, keeping
- 17:08things organized, and then some pretty powerful
- 17:10advanced data techniques. And they really are
- 17:12foundational, aren't they? Like even just picking
- 17:15up a few of these could genuinely save hours
- 17:17and prevent a ton of headaches. It lets you build
- 17:19much more capable, scalable automations. And
- 17:23yeah, the article hints there's more in part
- 17:25two. Right. They mentioned things like HTTP security
- 17:28deep dives, error handling patterns, advanced
- 17:31workflow designs, even a mastery plan. But yeah.
- 17:35That's for another time. For sure. These 28 alone
- 17:37give you a massive toolkit to work with already.
- 17:40So, yeah, we went from navigating faster to understanding
- 17:43and controlling data to organizing workflows
- 17:46like a pro and finally into some serious data
- 17:49wizardry. And remember, these aren't just like
- 17:52tiny optimizations. They can fundamentally change
- 17:54how you approach building an Antidot, unlocking
- 17:57stuff you might not have thought possible before.
- 17:59Absolutely. So the challenge to you is just pick
- 18:02one. Or two, try the tab trick for adding nodes
- 18:05or start naming your nodes properly every time.
- 18:09Just try it out in your next project. Start small,
- 18:11feel the difference, and then maybe layer in
- 18:13another trick next time. Build that muscle memory.
- 18:16Exactly. So here's a final thought to leave you
- 18:18with. Mastering these kinds of detailed shortcuts
- 18:21and techniques, it obviously makes you faster.
- 18:24But does it also change the kind of problems
- 18:26you feel confident tackling? Think about it.
- 18:28What workflow felt maybe too complex, too messy,
- 18:32too difficult to manage before that you could
- 18:35potentially design and maintain now using some
- 18:38of these tricks? That's a really good question.
- 18:40It definitely expands the possibilities, doesn't
- 18:42it? It really does. Well, thanks for joining
- 18:44us on this deep dive into NAPEN tricks. Yeah.
- 18:46Thanks for listening. Keep automating.