The Frontify component enables you to integrate with your Frontify account. It allows you to interact with brand assets, guidelines, and projects stored in Frontify through the GraphQL API.
To embark on building any integration flow, the initial step involves creating an app by following these steps:
https://<YOUR-SUBDOMAIN>.frontify.com
).https://{your-tenant-address}/callback/oauth2
.basic:read
).With the app created, proceed to generate new credentials for the component:
OAuth2
Add New Auth Client
:
Client ID
from your Frontify app.Client Secret
from your Frontify app.https://<YOUR-SUBDOMAIN>.frontify.com/api/oauth/authorize
.https://<YOUR-SUBDOMAIN>.frontify.com/api/oauth/accesstoken
.basic:read, basic:write
. You should enter the exact same scopes you selected when creating your Frontify application. For more information on scopes, see the Frontify API scope documentation. To successfully verify credentials, a minimum of basic:read
is required.https://mycompany.frontify.com
).v1
) - Choose either v1
or v2(beta)
.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.
Create Asset
.Example for Update Asset:
asset {
id
description
}
Special Notes for
Upload File
Mutation:
- Required fields:
- File URL (string, required): The URL of the file to upload. Can be either an external public URL or an internal Maestar storage URL.
- Size (string, required): File size in bytes.
- Filename (string, required): Name of the file.
- The action will automatically split the file into chunks and upload each part to Frontify using presigned URLs returned by the mutation.
Dynamically generated fields according to chosen Mutation type
.
Result object from executed mutation.
Lookup a set of objects based on defined criteria.
The results can be emitted either as a page or as individual objects.
Brands
.Example for Brands:
rgbaColor {
red
alpha
}
Emit Behavior - (dropdown, required): Defines how the result objects will be emitted:
results
.Dynamically generated fields according to the chosen Object type
.
For Emit Page
mode: An object with key results
that has an array as its value.
For Emit Individually
mode: Each object that fills the entire message.
Lookup a single object by its ID.
Example for Brand:
libraries {
total
}
Dynamically generated fields according to the chosen Object type
and selected fields.
Executes custom requests using the Frontify GraphQL API.
None.
Example Request Body:
"query": "{ currentUser { ... on AccountUser { id email avatar name } } }"
Creates a subscription to selected events.
Required scopes: basic:write
, webhooks:read
, webhooks:write
.
More information can be found on Frontify Webhooks Docs.
v1
, only subscription to all events is possible.v2(beta)
, specific event types can be chosen.None.
An object with the key event that describes changes.
Webhook
trigger can only work in a real-time flow.Retrieving a new sample
for the webhook will not work because the webhook requires a valid event signature. Only events sent by Frontify contain a valid signature.Click here to learn more about the elastic.io iPaaS