Action triggers support {{ ... }} interpolation in payloads, headers, auth values, URLs, PR titles, PR bodies, file contents, branch names, and labels. The same syntax works in every interpolation-aware field.
| Variable | Available when |
|---|---|
{{ secrets.<name> }} | Always — resolves and decrypts the named Terrantula Secret |
{{ parameters.<name> }} | Always — values supplied when the Action was triggered |
{{ recommendations.<name>.id }} | Action has recommendations |
{{ recommendations.<name>.name }} | Action has recommendations |
{{ recommendations.<name>.properties.<prop> }} | Action has recommendations |
{{ entity.id }} | Action scope: instance |
{{ entity.name }} | Action scope: instance |
{{ entity.properties.<prop> }} | Action scope: instance |
{{ entity.labels.<label> }} | Action scope: instance |
{{ run.id }} | Always — the ActionRun UUID |
{{ run.callbackUrl }} | Always — where the external workflow POSTs completion |
{{ run.callbackToken }} | Always — HMAC-signed token for that callback (see below) |
{{ operation.entity.id }} | Inside createRelationship on a create-entity operation — refers to the just-created entity |
{{ run.callbackToken }} is HMAC-SHA256 signed using the server encryption key. The token is bound to:
timeout, or 60 minutes if unset)Format: {runId}:{expiresAtMs}:{hmac}. The callback endpoint validates with constant-time comparison and a status guard — a token issued for one run cannot be replayed against another run, even within the expiry window.
This token is not a credential by itself. It can be embedded in PR bodies, log messages, or anywhere safe to display — the HMAC binds it to a specific run and expiry, and the status guard prevents replay.
{{ run.id }} (the bare UUID without HMAC) is always safe to embed in PR bodies, commit messages, or logs. It identifies a run for human reference but cannot authorize a callback on its own.
createRelationshipIn createRelationship, the special variable {{ operation.entity.id }} resolves to the entity that was just created by the parent create-entity operation. This lets you compose entity creation and relationship creation atomically without two separate calls.