Bynder
Squiz has established a technical partnership with Bynder, allowing for integration between Squiz products and services and Bynder’s digital asset management (DAM) platform.
This integration enables automatic media asset updates from Bynder to Squiz.
Bynder and Squiz integration also enables asset management and distribution across various channels.
Credentials
To build an integration flow, the initial step of creating an OAuth app involves the following steps:
-
Click on Portal Settings in the top right corner of the dashboard.
-
Select OAuth Apps From the left menu.
-
Click the Add New App button.
-
Complete the Required Fields:
- Application Name
-
Assign a name to the app.
- Integration
-
Select
as the type of integration. - Grant Type
-
Choose Authorization Code + Refresh Token.
- Authorization Redirect URI
-
Set this to https://TENANT_ADDRESS/callback/oauth2, where TENANT_ADDRESS is the domain of the integration platform.
- Scopes
-
Choose the required scopes, ensuring that
current.user:read
is selected for successful credential verification.
-
Click the Register Application button.
-
Save the Client ID and Client Secret as they are needed for component credentials.
To enable this feature, you must have the Customer Success Manager role assigned in your portal. -
From the drop-down, select OAuth 2.0 as the authorization type. If previously created clients exist, they will be presented here as options.
-
If no extant clients exist, click Add new Auth client.
-
Assign a name to the new Auth client. This name can be any Unicode string up to 256 characters.
-
Enter:
-
The client ID obtained from your Bynder app.
-
The selected OAuth 2.0 client secret.
-
The OAuth2 authorization endpoint: https://BYNDER_DOMAIN/v6/authentication/oauth2/auth.
-
The Refresh token endpoint: https://BYNDER_DOMAIN/v6/authentication/oauth2/token.
BYNDER_DOMAIN is the domain of your Bynder installation.
-
-
Assign a name to identify these credentials within the Squiz Integrations service.
-
Specify the Scopes required to access your Bynder objects. For example;
-
current_user_read
-
asset_read
-
asset_write
-
collection_read
.Additional parameters are optional.
-
-
Enter the Bynder installation base URL.
-
Click Authenticate.
A sign-in screen will open.
-
After successfully signing in, the confirmation page presents. It will list the configured integration scope of your Squiz account with the Bynder API.
Triggers
- Get New and Updated Objects Polling
-
Retrieve all the updated or created objects within a given time range.
Configuration fields
- Object Type
-
A required drop-down. Type of object to poll on. Currently supported only assets.
- Timestamp field to poll on
-
An optional drop-down. Select the date field to track changes.
- Emit behavior
-
An optional drop-down. Indicates emit objects behavior:
-
Emit individually (default)
-
Emit page.
-
- Size of polling page
-
An optional, positive integer. The maximum (and default) is
100
. This indicates the size of the pages to be fetched. - Start time
-
An optional string. The (inclusive) timestamp, in ISO8601 format, from which to start polling. The default value is the beginning of time (January 1, 1970 at 00:00.000).
Actions
Delete object by ID
Delete a single object using its ID.
Lookup object by ID
Retrieve a single object using its ID.
Configuration fields
- Object Type
-
A required string. The type of object to look up. The currently supported types are:
-
User.
-
Asset.
-
Asset content.
-
Metaproperty.
-
Collection.
-
Output metadata
Returns an object with the result of the lookup.
If the Asset content type is selected, the result will include attachmentUrl
, which is a link to the file stored within the platform’s internal storage (Maester).
Known limitations
Clicking the Generate Stub Sample button may produce output metadata that is limited to the fields provided in the Bynder documentation, which does not provide a complete overview of the available API objects.
Lookup objects (plural)
Lookup a set of objects based on a defined list of criteria.
The results can be emitted in different ways.
Configuration fields
- Object Type
-
A required drop-down. The type of object to look up. The currently supported types are:
-
User.
-
Asset.
-
Asset content.
-
Metaproperty.
-
Collection.
-
- Emit Behavior
-
A required drop-down. Specifies how the resulting objects will be emitted:
-
Emit All.
-
Emit Individually.
-
Output metadata
- Emit All
-
An object with the key results containing an array as its value. In some cases, there might be additional keys with information. For example, if you use Assets as Object Type and set Include count as
true
, there will be additional keys. - Emit Individually
-
Each object fills the entire message.
Upsert object
This action either updates an existing object or creates a new one.
Configuration fields
- Operation
-
A required drop-down. Choose the operation to perform:
-
Update.
-
Create.
-
- Object type
-
A required drop-down. Select the type of object to update or create. The currently supported types are:
-
User.
-
Asset.
-
Metaproperty.
-
Collection.
-
Make raw request
Allows for the execution of custom requests using the Bynder REST API directly.
Configuration fields
- Do not throw an error on 404 Response
-
An optional boolean. Configures the handling of 404 HTTP responses as non-errors. The default is
false
.
Use cases
When building the integration flows, Squiz and Bynder integration can be triggered in several ways:
- Webhook
-
Bynder can send a webhook to Squiz whenever there are updates to media assets in the platform.
- Scheduled task
-
Integration can be set up to run on a schedule, such as daily or weekly, to ensure updated assets are automatically uploaded to Squiz.
- User event
-
User actions from the Squiz DXP can trigger the integration flow to upload assets and their metaproperty to Bynder.