Skip to content

Automations #1231

Description

@joepio

Tools like Airtable, Notion, Baserow don't just allow users to manage data - they can manage logic through automations. E.g:

  • When a form submission is made (new purchase by new user), send a custom confirmation email to the user
  • When a customer has made 100$ of purchases, send them a discount code

What kind of triggers would we need?

  • On creation / edit / delete of some record in some query. We can use live queries to do this.
  • Periodically (cron job)
  • Manual (e.g. pressing a button)
  • Webhook / external API call

What kind of actions would we need?

  • Resource creation / edit / delete
  • Send email
  • Call external API / Webhook

Runtime

I'd like to re-use ouw WASM logic + maybe Moonbit as a language. It's fast to run and compile, compact, and easy to write for LLMs if we ship a compiler to the client that does type checking.

We can, at some point, even run this on the client. But we should probably start with server-side runtimes.

Creation

For a long time, 2d node / graph editors have been the standard (think n8n) although tools like Airtable offer more linear / 2d editors. But more complex use cases pretty much always require scripting. I'm considering skipping the entire editor, and just going straight to scripting. LLMs are good at this, so users can can just say "build me x" and the LLM does the heavy lifting. It'll feel more like magic and less like understanding a node editor, but I think it saves us a lot of complexity and still provides an amazing experience.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions