Confirmed · 3 videos

Automate recurring triggers with handoffs

Turn recurring time-based or event-based patterns into scheduled or webhook-triggered routines, and pass state between runs through written handoffs and records.

Herk looks for situations where a trigger X reliably leads to an action Y, then automates them with crons, scheduled tasks, or webhooks. Because each run is stateless, every run must read prior logs, record its actions as it goes, and leave instructions for the next run. He also moves long sessions and plans into files so a fresh session can continue the work.

Based on Nate Herk | AI Automation's public content. Not affiliated with or endorsed by Nate Herk | AI Automation.

What following it looks like

  • Maps the daily or weekly sequence of work before assigning agents to specific times
  • Has each scheduled run read the prior handoff, log its actions, and write instructions for the next run
  • Uses webhooks with inbox or event filters so the correct agent wakes up
  • Writes specs and plans to files so fresh sessions can pick them up

Evidence · 12 quotes from 3 videos

Each quote was matched word for word against the transcript. Tap the time to hear it.

“Okay, moving on to number three. Build automations to update data.”

19:04and that I actually understand my own second brain,
19:07my own AIOS.
19:09Okay, moving on to number three.
19:10Build automations to update data.
19:12If you guys remember here, right here,

“So why not just set up crons to automatically pull that stuff in there so that if I, for some reason, forget to after one of my meetings, I don't have to worry about it.”

19:35Every single Tuesday when I meet with my leadership team,
19:38I want that in there.
19:39So why not just set up crons
19:40to automatically pull that stuff in there
19:42so that if I, for some reason,

“So definitely set up some sort of crons to pull in the data that you want to always be living inside of your local project.”

19:51but it's something that I've noticed
19:53a lot of people aren't doing.
19:54So definitely set up some sort of crons
19:56to pull in the data that you want
19:58to always be living inside of your local project.

“It will basically say, here's what I did today, and here's what comes next.”

3:36a progress log.
3:37So that way we have basically this system where one agent wakes up and starts working.
3:41It will basically say, here's what I did today, and here's what comes next.
3:45So then when this next agent wakes up and basically takes over, it will read that output,
3:48it will do its work, and then go, okay, cool, here's what I just did.

“continuity comes from shared records, not the AI remembering the conversation.”

3:59and just keep actually feeling like it's one trading agent rather than having a bunch of
4:03different isolated workers.
4:05So you can see here it says, continuity comes from shared records, not the AI remembering
4:09the conversation.
4:10So every wake up will read the strategy and the previous handoff, check Alpaca, which

“And so the way that I'm kind of tackling this here is having every single wake up end with a progress log.”

3:27It understands the context of what just happened in order to understand better what I need
3:31to do now.
3:32And so the way that I'm kind of tackling this here is having every single wake up end with
3:36a progress log.
3:37So that way we have basically this system where one agent wakes up and starts working.

“I think a really good way to think about that is just by thinking about the triggers.”

1:16:21rather than like how does the tech work.
1:16:23It's more about what are the use cases that actually help.
1:16:26And I think a really good way to think about that
1:16:28is just by thinking about the triggers.
1:16:29Meaning what happens in your business

“When you think about the triggers and you understand if X happens, do I always do Y?”

1:16:38After I have a meeting, is there anything I do every time?
1:16:41You know, when I get this type of email, what do I do?
1:16:44When you think about the triggers
1:16:46and you understand if X happens, do I always do Y?
1:16:48Then that's a really good opportunity

“Then that's a really good opportunity to set up some sort of bot for an automation there.”

1:16:44When you think about the triggers
1:16:46and you understand if X happens, do I always do Y?
1:16:48Then that's a really good opportunity
1:16:49to set up some sort of bot for an automation there.
1:16:52So let's set up its name as Fire.

“Critical actions get recorded as they happen, so an interrupted run can be recovered without accidentally repeating a trade.”

4:24And if you don't have this continuity, it's just going to feel like you're just kind of
4:27like throwing darts at the wall.
4:29Critical actions get recorded as they happen, so an interrupted run can be recovered without
4:32accidentally repeating a trade.
4:34So all of this stuff is ready, and now we just have to actually set up the connection

“Every single trading day, it's going to do these actions at these times.”

2:54day's results.
2:55So that's how simple this is going to be.
2:57Every single trading day, it's going to do these actions at these times.
3:01And that's how we're going to basically make this 24-7 trader for our seven-day challenge.
3:05Now if you'd feel more comfortable having another wake up after the market closes, you

“And just sort of put yourself on this like one day calendar because then you can just basically make agents to do those things at those times to help you out a little bit.”

2:17Maybe an hour in, do you look at some stuff?
2:18You know, maybe before close, do you look at some stuff?
2:21And just sort of put yourself on this like one day calendar because then you can just
2:24basically make agents to do those things at those times to help you out a little bit.
2:28But anyways, let me just keep going here with the proposed plan from Codex.

Linked topics