Short answer: In TinyCommand, add the Bitbucket Pull Request Created trigger to a workflow and publish. It listens through a Bitbucket webhook and fires your workflow within seconds of the event, with no polling and no code. Add a filter if you only want some events to start a run.
Drop it on the canvas. Configure a couple of fields. Publish.
You don’t need to read this. TinyCommand auto-maps every field into the visual picker so downstream nodes can pull values by clicking. We show it here for power users who want to know what’s on the wire.
{"id": 1,"state": "OPEN","title": "Feature branch","author": "Developer","source": "feature","destination": "main"}
Every field below can be referenced by name in any action or filter that comes after this trigger.
| Field | Type | Example |
|---|---|---|
| id | number | 1 |
| state | string | "OPEN" |
| title | string | "Feature branch" |
| author | string | "Developer" |
| source | string | "feature" |
| destination | string | "main" |