Connecting Unity Games to n8n Workflows: Announcing the Workflow Bridge Asset

Hi n8n Community!

My name is Oriol Sala Sobrino, I’m a Unity developer and a big admirer of the n8n platform. Following a suggestion from the n8n team via direct message, I’m excited to share a project I’ve been working on that I believe will be highly valuable for game developers using n8n.

Key Features (Why it’s different):

  • Persistent Offline Queue: Requests are automatically queued when the player is offline and sent reliably (based on priority!) when the connection restores. No more lost data!

  • Intelligent Retry System: Handles temporary network issues or server hiccups gracefully using exponential backoff with jitter.

  • Built-in Security: Includes AES-256 encryption for sensitive data (like API keys) and HMAC-SHA256 request signing for verifying data integrity and authenticity directly within your n8n workflows. Also features automatic log obfuscation.

  • Network Adaptation: Automatically detects network type (WiFi/Cellular), measures latency, and even monitors battery status on mobile, allowing developers to adapt behaviour (e.g., enable compression automatically on cellular).

  • Effortless Data Handling: Automatically maps common Unity types (Vector3, Quaternion, Color, GameObject, Transform, etc.) to n8n-friendly JSON or FormData. Easily extensible for custom data types.

  • n8n Specifics: Supports executing webhooks and running full workflows with type-safe responses, including automatic polling for n8n Wait nodes.

  • Zero Scene Setup: Uses a unique Singleton ScriptableObject pattern (AutomationManager) for easy configuration and automatic persistence across scene loads – no prefabs needed.

  • Multi-Environment Config: Easily switch between Development, Staging, and Production n8n instances via the AutomationConfig asset.

Why I’m Sharing This Here:

I believe Workflow Bridge can significantly simplify how Unity developers leverage the power of n8n for backend logic, analytics, AI integration (examples included!), live ops, and much more, while ensuring reliability and security.

Next Steps:

The asset is almost ready for launch on the Unity Asset Store. I wanted to share it with the n8n community first.

  • I’d love to hear your thoughts or answer any questions you might have!

  • As mentioned in my DM, I’m happy to share the detailed architecture diagram if there’s interest.

  • I’ll post an update here once it’s officially launched on the Asset Store.

Thank you for creating such an amazing platform like n8n, and thanks to the team for suggesting I post here!

Best regards, Oriol Sala Sobrino

This is seriously impressive, Oriol. The persistent offline queue and intelligent retry system alone solve major headaches for Unity devs. The automatic network detection and battery monitoring are nice touches too. I’ll definitely check out the asset once it hits the store.

On a side note, if you’re into mobile games at all, I’ve been impressed by what’s offered in this game :automobile:, completely unrelated to n8n, but a fun time-waster. Looking forward to the Workflow Bridge launch!

The offline queue with intelligent retry is the hardest part of any game-to-backend bridge - most game devs end up losing analytics events on connectivity drops, so this solves a real pain. One use case that could be worth highlighting in your docs: using n8n to gate in-game purchases by webhook - trigger an n8n workflow on item purchase, run fraud checks, then respond to Unity with an approval token before unlocking the item.