Skip to content
Netlify

How to use Netlify

DevelopersCost: 1 credit per runTechnical reference

What it is for

Netlify is a platform for building and deploying websites and apps.

Netlify triggers react instantly to events in the app.

Set up the connection

Authentication type: OAuth 2.0 (sign in with your account)

  1. 1Add a Netlify step and click "Connect".
  2. 2Sign in with your Netlify account in the window that opens.
  3. 3Review and accept the permissions flooows requests (only those the actions need).
  4. 4Give the connection a recognizable name so your team can reuse it.

Credentials are stored encrypted in your isolated database, in Spain, and are never shown in plain text.

How to use it in a flow

  • List Sites: no required fields; use the data selector to map values from earlier steps.
  • Get Site: fill in Site; use the data selector to map values from earlier steps.
  • Start Deploy: fill in Site; use the data selector to map values from earlier steps.

Tips

  • •Test each step before publishing to see the exact output structure.
  • •Enable retries on steps that call external services.

Triggers (4)

Events that can start a flow. Expand each one to see its fields.

New Deploy StartedWebhook (paste the URL in the app)1 fields
FieldTypeRequired
SiteList (from your account)Yes
New Deploy SucceededWebhook (paste the URL in the app)1 fields
FieldTypeRequired
SiteList (from your account)Yes
New Deploy FailedWebhook (paste the URL in the app)1 fields
FieldTypeRequired
SiteList (from your account)Yes
New Form SubmissionWebhook (paste the URL in the app)1 fields
FieldTypeRequired
SiteList (from your account)Yes

Actions (16)

Operations available as flow steps. Expand each one to see its fields.

List Sites3 fields
FieldTypeRequired
Name ContainsTextNo
PageNumberNo
Per PageNumberNo
Get Site1 fields
FieldTypeRequired
SiteList (from your account)Yes
Start Deploy2 fields
FieldTypeRequired
SiteList (from your account)Yes
Clear Build CacheYes / NoNo
List Site Deploys3 fields
FieldTypeRequired
SiteList (from your account)Yes
PageNumberNo
Per PageNumberNo
Get Deploy1 fields
FieldTypeRequired
Deploy IDTextYes
Cancel Deploy1 fields
FieldTypeRequired
Deploy IDTextYes
Publish Deploy (Rollback)1 fields
FieldTypeRequired
Deploy IDTextYes
Lock Deploy1 fields
FieldTypeRequired
Deploy IDTextYes
Unlock Deploy1 fields
FieldTypeRequired
Deploy IDTextYes
List Files1 fields
FieldTypeRequired
SiteList (from your account)Yes
List Forms1 fields
FieldTypeRequired
SiteList (from your account)Yes
List Form Submissions4 fields
FieldTypeRequired
SiteList (from your account)Yes
FormList (from your account)Yes
PageNumberNo
Per PageNumberNo
List Environment Variables3 fields
FieldTypeRequired
SiteList (from your account)Yes
Deploy ContextFixed listNo
ScopeFixed listNo
Set Environment Variable5 fields
FieldTypeRequired
SiteList (from your account)Yes
KeyTextYes
ValueLong textYes
Deploy ContextFixed listNo
SecretYes / NoNo
Delete Environment Variable2 fields
FieldTypeRequired
SiteList (from your account)Yes
KeyTextYes
Custom API Call5 fields
FieldTypeRequired
URLTextYes
MethodFixed listYes
HeadersKey / value pairsNo
Query ParametersKey / value pairsNo
BodyJSONNo

Common errors

Authentication error

The connection expired or the key was revoked: reconnect it from Connections.

Field not found or empty

Re-test the previous step and remap the field in the data selector.

Field types

"List (from your account)" loads options from your connected account; "Dynamic fields" appear depending on earlier choices; in any field you can insert data from previous steps with the data selector (e.g. {{trigger.email}}). More about data between steps