Automation library · Integrations

Route Gitea repo events to Matrix rooms

Started by another system calling it, and works across n8n data table. 22 steps, 4 branches: large, and worth reading before you trust it with anything live.

Large

22 stepsLarge: read it before trusting it with anything live
4Branches: places the flow splits
0Loops or waits
1Service it connects to

The flow

Starts it 1Logic 9Service 12

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

  1. 1Gitea EventsWebhookStarts it
  2. 2Parse EventCodeLogic
  3. 3Is Repository Event?IfLogic
  4. 4Is Created?IfLogic
  5. 5Get row(s)Data TableService
  6. 6Create Matrix RoomMatrixService
  7. 7Get row(s) for DeleteData TableService
  8. 8Lookup & FormatCodeLogic
  9. 9Upsert row(s)Data TableService
  10. 10Format DeletedCodeLogic
  11. 11Send to RoomMatrixService
  12. 12Store & Map UsersCodeLogic
  13. 13Send DeletedMatrixService
  14. 14Has Author MXID?IfLogic
  15. 15Delete row(s)Data TableService
  16. 16Invite AuthorMatrixService
  17. 17Invite AdminMatrixService
  18. 18Is Author Admin?IfLogic
  19. 19Build Admin PayloadCodeLogic
  20. 20Set AdminHttp RequestService
  21. 21Welcome MessageMatrixService
  22. 22Add to SpaceHttp RequestService

How it's built

Starts on
Another system calling it
Steps
22, with 4 branches
Size
Large: read it before trusting it with anything live
Connects to
n8n data table
Model
None. This is plumbing, not judgement

Questions

What does it need to run?

An n8n 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 22 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 22 steps before you point it at anything that matters.