Automation library · Integrations

Bitcoin miner health check - multiple pools, multiple miners p2

Started by another system calling it, and works across Gmail. 24 steps, 3 branches, 1 loop or waits: large, and worth reading before you trust it with anything live.

Large

24 stepsLarge: read it before trusting it with anything live
3Branches: places the flow splits
1Loop or waits
1Service it connects to

The flow

Starts it 1Logic 19Service 4

The steps in the order they run, from what starts it.

  1. 1Webhook CatchWebhookStarts it
  2. 2Flatten WebhookCodeLogic
  3. 3Log WebhookCodeLogic
  4. 4debug counter resetCodeLogic
  5. 5Reset Counter StartCodeLogic
  6. 6WaitWaitLogic
  7. 7Cache ContextCodeLogic
  8. 8Recheck MinerHttp RequestService
  9. 9Combine Session and Miner infoCodeLogic
  10. 10Debug After MergeCodeLogic
  11. 11If Block FoundIfLogic
  12. 12Log If Fail PayloadCodeLogic
  13. 13Notify About Block FoundGmailService
  14. 14If FailureIfLogic
  15. 15Log True BranchCodeLogic
  16. 16Log False BranchCodeLogic
  17. 17Update CounterCodeLogic
  18. 18Reset CounterCodeLogic
  19. 19Debug Before If CounterCodeLogic
  20. 20If CounterIfLogic
  21. 21Preserve PayloadCodeLogic
  22. 22Trigger EmailHttp RequestService
  23. 23Limit StormCodeLogic
  24. 24Loop BackHttp RequestService

How it's built

Starts on
Another system calling it
Steps
24, with 3 branches, 1 loop or waits
Size
Large: read it before trusting it with anything live
Connects to
Gmail
Model
None. This is plumbing, not judgement

Questions

What does it need to run?

An n8n account, plus your own Gmail account. You connect your own accounts after importing it; none are included.

What starts it?

It starts on another system calling it.

Does it use AI?

No. Every step is fixed logic or a call to a service, so it does the same thing every time.

How long does it take to set up?

Take your time. At 24 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

Before you run it

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 24 steps before you point it at anything that matters.