Events are what trigger automations, and each event has some unique payload schema which is passed in as an argument into an automation’s entry point. For an exhaustive definiton of each event and schema, please refer to the Events API.

@on("github.pull_request")
def automation(event):
    files_changed = event.get("files_changed")

For our beta release, we currently support a subset of Github webhook events along with basic scheduling and webhook support. We will steadily add to this list, and begin supporting other providers in the near future.

If there is a specific event you’d like to see supported, please reach out to one of our founders: tomislav@blocksorg.com or alejandro@blocksorg.com.