Onboard a new customer and import assets via webhook

Developer ToolAPI IntegrationMarketingRecipe Tools

What it does

When a new account is created via webhook, this automation checks if that customer exists. If not, it creates the customer account, sets up a shared assets folder, and imports packages to their workspace.

Who it's for

Operations teams who onboard embedded partners and need to provision customer accounts with preconfigured assets.

How teams use this

Provision a new embedded partner account

Create a customer account with a shared assets folder and import preconfigured integrations and connections so the partner can start building immediately without manual setup.

Sync customer data after connection

When a customer establishes a connection through the connection widget in the partner UI, this automation verifies the account exists and updates their information.

Include custom packages per partner

Modify the manifest export and package import steps to include partner-specific integrations, connections, and configurations so each customer receives only the assets they need.

Handle account updates without reimporting

Add a condition to check if the customer account already has imported packages, and only update their information without re-importing assets if they do.

How it works

  1. Receive new account via webhook. A new account is created through a webhook, which can also be triggered when a customer establishes a connection through the connection widget in the partner UI.
  2. Check if customer exists. Query the customer account via Rest to see if a record already exists for that customer in the system.
  3. Create account and assets folder. If the customer does not exist, create the customer account via Rest, then create a shared assets folder in their workspace.
  4. Export and import packages. Export the manifest, download the package, and import it to the customer workspace via Rest so they have preconfigured integrations and connections.
  5. Update existing customer. If the customer already exists, update their account information via Rest and stop this automation without reimporting assets.