Triggers
Let app events start your agent
A trigger watches one account for one kind of event. When it fires, your webhook gets the event with the user and account it came from.
Set up a triggerWhat happens when you switch one on
Where the app has a webhook API, Prompt TM creates the webhook in the connected account, with a secret only we and the app know. Switching the trigger off deletes it again.
Each delivery is checked against the app's signature before anything is stored. Events from other repositories or of other types are dropped.
We store the event and POST it to your project webhook, signed with your project secret in the Standard Webhooks format, so existing libraries can verify it.
For apps without a webhook API, the incoming webhook toolkit gives you a private URL to paste into the app.
POST https://your-app.example/webhooks/prompt-tm
webhook-id: evt_8d1…
webhook-timestamp: 1762425600
webhook-signature: v1,K5o0…
{ "id": "evt_8d1…", "type": "trigger.message",
"metadata": { "trigger_slug": "GITHUB_ISSUE_EVENT", "trigger_id": "ti_…",
"connected_account_id": "ca_…", "user_id": "alice" },
"data": { "action": "opened", "issue": { "number": 42, … } } }Available triggers (10)
GitHub · Commits pushed
GITHUB_PUSH_EVENT
Fires when commits are pushed to any branch of the repository.
GitHub · Issue opened or changed
GITHUB_ISSUE_EVENT
Fires when an issue is opened, edited, closed, reopened, labelled or assigned. `action` says which.
GitHub · Issue comment
GITHUB_ISSUE_COMMENT_EVENT
Fires when a comment on an issue or pull request is created, edited or deleted.
GitHub · Pull request activity
GITHUB_PULL_REQUEST_EVENT
Fires when a pull request is opened, closed, merged, synchronised or reopened.
GitHub · Repository starred
GITHUB_STAR_EVENT
Fires when someone stars or unstars the repository.
GitHub · Release published
GITHUB_RELEASE_EVENT
Fires when a release is published, edited or deleted.
GitHub · Workflow run finished
GITHUB_WORKFLOW_RUN_EVENT
Fires when a GitHub Actions run is requested, in progress or completed.
Incoming webhook · Request received
WEBHOOK_INCOMING_REQUEST
Fires for every POST to the trigger's URL. The JSON body (or the raw text) becomes the event payload.
Stripe · Stripe event
STRIPE_EVENT
Fires when Stripe sends an event, such as payment_intent.succeeded or invoice.paid. Choose which event types to receive.
Vercel · Deployment state changed
VERCEL_DEPLOYMENT_EVENT
Fires when a deployment is created, succeeds, fails or is cancelled. Account webhooks need a Vercel plan that offers them.