The problem app overrides solve
Take ServiceNow. To connect a ServiceNow account, Pipedream needs:- Instance name — the host portion of the instance URL, for example
dev123inhttps://dev123.service-now.com - OAuth client ID
- OAuth client secret
- They often don’t have the information, because of permissions or lack of technical context.
- They can enter it incorrectly — typos, the wrong host, missing context.
- Admins can’t make sure that every user connects with the same configuration.
How overrides are scoped
Each override is owned by a workspace or a project. Theowner_id field shows which:
When you list overrides for a project, the response includes the project’s own overrides and those of its parent workspace. Override names are unique per owner.
End-to-end example
This example creates a custom OAuth client for ServiceNow, pre-defines the instance name in an override, then connects an end user’s account with it.1
Create a custom OAuth client
Workspaces and projects can use their own OAuth clients instead of Pipedream’s official ones. Pipedream calls these OAuth clients, and each one stores a client ID and secret, scopes, and a name and description. Read more about OAuth clients.Skip this step if the app is key-based, or if you want to keep using Pipedream’s official OAuth client. The app must also have custom OAuth clients enabled.Each OAuth client returns a unique
The
clientId and clientSecret you pass here are the credentials ServiceNow issued to you. They are not your Pipedream OAuth credentials, which you pass to the client constructor.redirect_uri. Register it with the third-party app so it redirects users back to Pipedream.2
Find the app's custom fields
An override pre-defines the custom fields that an app declares. Retrieve the app to read them from For ServiceNow, the custom field is named
custom_fields_json, which is a JSON string you need to parse.instance_name.3
Create the app override
Pass the custom field values in
cfmap, keyed by the field names from the previous step. Attach the OAuth client from step 1 with oauthAppId.Sensitive custom fields, meaning any field of type
password, can’t be pre-defined. The API rejects them in cfmap.4
Connect an account
Pass the override’s ID as See the Connect quickstart for the full account connection flow, and Connect Link if you don’t run JavaScript in your frontend.
appOverrideId when the end user connects. Pipedream applies the pre-defined field values and the attached OAuth client, then asks the user only for the fields that remain.Updating and removing overrides
- Update an override to change its
name,cfmap, oroauthAppId. - To detach a custom OAuth client and fall back to the official one, set
oauthAppIdtonullon update. - Deleting an override does not disconnect accounts that were already connected with it.
API reference
App Overrides
List, create, retrieve, update, and delete app overrides
OAuth Clients
Manage custom OAuth clients through the API