This webhook is called when an user clicks the “Import Content” button in the content page of Proposales. The returned list of products will then be added to the content library.

Content Import Request
{
  id: string;
  created: number;
  type: 'content.import';
  integration: IntegrationSessionData;
}

The expected response to this is a json object with the following format

It is important that the uniqueId is unique, and stays the same for a specific product, since it’s used to determine whether or not a product exists in the content library.

Once a product is added to a proposal, its integration data will be included in its sources.integration property. sources.integration.metadata will contain the optional metadata provided during import.