Loading

Use Salesforce Flow to Automatically Add a Quip Document to a Folder

Udgivelsesdato: Aug 25, 2026
Beskrivelse

When a Quip Document Component is configured on a Salesforce record page (such as an Opportunity), each new document generated by the component can be automatically added to a shared Quip folder using a Salesforce Flow. This ensures the document is immediately accessible to team members who are members of that folder, without requiring the document creator to manually share it. This article walks through setting up the Lightning App Builder component and the Flow that performs the automatic folder assignment.

Løsning

What This Automation Does

When an Opportunity record has a Quip Document Component configured and a new document is generated from it, the Flow triggers and adds that document to a designated Quip folder. This makes the document available to everyone in the folder automatically.

Example: A sales ops team configures a Quip Document Component on the Opportunity page layout using a Close Plan template. When a rep opens a new opportunity and generates the Close Plan, the Flow automatically adds it to the shared "Sales Close Plans" folder — giving the full sales team instant access without the rep needing to share it manually.

Step 1: Set Up the Quip Document Component

  1. Open any Opportunity record and click the gear icon in the top right, then select Edit Page.
  2. Add a new tab and insert the Quip Document Component onto the tab.
  3. Configure the component for One template for each record and paste in the Quip template URL.
  4. Click Validate Template to confirm the template is recognized.
  5. Click Create a new field to create a custom URL field on the Opportunity object to store the generated document URL. Give it a memorable API name such as Close_Plan_Quip__c.
  6. Save and activate the page layout.

Step 2: Create the Record-Triggered Flow

  1. In Salesforce Setup, search for Flows and click New Flow.
  2. Select Record-Triggered Flow and choose Auto-Layout.
  3. Set the trigger to fire when a record is created or updated on the Opportunity object, running after the record is saved. Set Condition Requirements to None.
  4. Add an Action element after the trigger.
  5. In the Action selector, choose the category Quip and select the action Add Quip Document to Folder.
  6. Set the Document URL input to the Opportunity's custom Quip URL field: {!$Record.Close_Plan_Quip__c}
  7. Set the Folder URL input to the URL of the Quip folder you want documents added to. Copy the folder URL from Quip before completing this step.
  8. Click Done, then Save the Flow and Activate it.

Testing the Flow

To test, open an Opportunity and generate a document from the Quip Document Component. Then open the Quip folder you configured — the new document should appear in the folder automatically within a few seconds of generation.

Note: The Flow uses the document URL from the custom field on the Opportunity. If the Quip Document Component has not yet generated a document for that record, the field will be empty and the Flow action will not run.

Vidensartikelnummer

000389057

 
Indlæser
Salesforce Help | Article