Skip to main content
PUT
Replace a custom automation

Authorizations

X-Outerlayer-App-Id
string
header
required

Factory id the request is scoped to.

Authorization
string
header
required

API key (sk_outerlayer_*)

Path Parameters

appId
string<uuid>
required
automationId
string<uuid>
required

Body

application/json
name
string
required

The name the member gave the automation.

Required string length: 1 - 100
trigger
object
required

An issue is opened.

dailyLimit
integer
default:5

For an issue automation, the most builds it can request in the last 24 hours. For a webhook automation, the most issues it files in the last 24 hours.

Required range: 1 <= x <= 100
instructions
string | null

Standing instructions for each build the automation requests. The build treats them as instructions and treats the issue's text as data. A webhook automation has none.

Maximum string length: 2000
signingSecret
string

The secret that Sentry or PagerDuty signs its requests with. Required to add a Sentry or PagerDuty automation. Send it again to replace the stored secret. OuterLayer never returns it. An Any JSON automation takes none, because OuterLayer makes its secret.

Required string length: 1 - 500
status
enum<string>
default:on

The automation's switch.

Available options:
on,
off
whose
enum<string>

Required for an issue trigger. A webhook automation has none.

Available options:
members,
anyone

Response

The stored automation.

data
object
required