Frontify
The Frontify component enables integration with your Frontify account. It allows interaction with brand assets, guidelines, and projects stored in Frontify through the GraphQL API.
Credentials
To build an integration flow, the initial step involves creating an app by following these steps:
-
Sign into your Frontify account.
For example,
https://..frontify.com -
Navigate to .
-
Click Add Application and provide:
- Name
-
A descriptive name for your app.
- Redirect URI
-
The callback URL as
https://TENANT_ADDRESS/callback/oauth2, where TENANT_ADDRESS is the domain of the integration platform. - Confidential
-
Enable this option.
- Scopes
-
Select the scopes that your integration requires.
At minimum, select
basic:read.
-
After saving, Frontify generates a Client ID and a Client Secret.
With the app created, proceed to generate new credentials for the component:
-
Select .
-
From the Choose Auth Client menu, select from previously created clients or select
Add New Auth Client:- Name
-
A required string.
Assign a name for the client.
- Client ID
-
A required string.
Enter the
Client IDfrom your Frontify app. - Client Secret
-
A required string.
Enter the
Client Secretfrom your Frontify app. - Authorization Endpoint
-
A required string.
Use Frontify’s OAuth2 authorization endpoint
https://..frontify.com/api/oauth/authorize - Token Endpoint
-
A required string.
Use Frontify’s refresh token endpoint
https://..frontify.com/api/oauth/accesstoken
-
In Name Your Credential, enter a name for the credential.
-
In Scopes (Comma-separated list), specify the scopes to access your Frontify objects.
For example,
basic:read, basic:write.Enter the same scopes you selected when creating your Frontify application.
For more information about scopes, read the Frontify API scope documentation.
To successfully verify credentials, a minimum of
basic:readis required. -
Leave the Additional parameters (Comma-separated list) field blank.
-
In Base URL, enter your Frontify domain (for example,
https://mycompany.frontify.com). -
From the Version list, select either
v1(default) orv2(beta).
Actions
Execute mutation
Execute any mutation available in the Frontify GraphQL API. This action can be used to create, update, or delete objects, as well as perform any other operation that modifies Frontify data.
Configuration fields
- Mutation type
-
A required drop-down.
The mutation type to execute.
For example,
Create Asset. - Select basic fields for resulting object
-
An optional drop-down.
A predefined set of common fields that can be included in the resulting object.
Reducing the number of fields can lower the query cost.
- You can provide additional fields here
-
An optional string.
You can manually specify extra fields to include in the resulting object.
Be aware that adding many fields may increase query cost.
Example for Update Asset:
asset { id description }
|
Special notes for Upload File mutation
Required fields:
The action automatically splits the file into chunks and uploads each part to Frontify by using presigned URLs returned by the mutation. |
Lookup objects (plural)
Lookup a set of objects based on defined criteria. The results can be emitted either as a page or as individual objects.
Configuration fields
- Object Type
-
A required drop-down.
The type of object to look up.
For example,
Brands. - Select basic fields for resulting object
-
An optional drop-down.
A predefined set of common fields that can be included in the resulting object.
Reducing the number of fields can lower the query cost.
- You can provide additional fields here
-
An optional string.
You can manually specify extra fields to include in the resulting object.
Be aware that adding many fields may increase query cost.
Example for Brands:
rgbaColor { red alpha } - Emit Behavior
-
A required drop-down. Defines how the result objects will be emitted:
-
Emit page: All results are returned together in one array under the key
results. -
Emit individually: Each object is returned in its own message.
-
Lookup object by ID
Lookup a single object by its ID.
Configuration fields
- Object Type
-
A required drop-down.
The type of object to look up.
- Select basic fields for resulting object
-
An optional drop-down.
A predefined set of common fields that can be included in the resulting object.
Reducing the number of fields can lower the query cost.
- You can provide additional fields here
-
An optional string.
You can manually specify extra fields to include in the resulting object.
Be aware that adding many fields may increase query cost.
Example for Brand:
libraries { total }
Make raw request
Executes custom requests by using the Frontify GraphQL API.
Input metadata
- Request Body
-
An optional object.
Provide the request body.
Example request body:
"query": "{ currentUser { ... on AccountUser { id email avatar name } } }"
For more information, read the Frontify API reference.
Triggers
Webhook
Creates a subscription to selected events.
Required scopes: basic:write, webhooks:read, webhooks:write.
For more information, read the Frontify Webhooks documentation.
Configuration fields
- Project ID
-
A required string.
Specify the project ID.
- Name
-
A required string.
Specify the name for the subscription.
- Events
-
A required drop-down.
Select the events that trigger this webhook.
-
For
v1, only subscription to all events is possible. -
For
v2(beta), specific event types can be chosen.
-
Output metadata
An object with the key event that describes changes.
Known limitations
-
The
Webhooktrigger can only work in a real-time flow. -
Frontify does not guarantee the order in which you receive a webhook for a specific event.
-
Occasionally, you might receive the same event multiple times.
-
Clicking Retrieve a new sample for the webhook does not work because the webhook requires a valid event signature.
Only events sent by Frontify contain a valid signature.