---
schema_version: "1"
id: 08474f5f9bc0774f96817770496abfeafbf06b5047a20957aa8cf8a04c4ea364
title: Lock Quip Document Action
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/flow_ref_elements_actions_quip_lock_doc.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.flow_ref_elements_actions_quip_lock_doc.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: eb9e64138fdc2e469e22193575aeaa8f7b8f20a858adcae2eee2a03212e562b0
description: Lock document edits to mark a Quip document as complete.
products:
  - Flow Builder
  - Salesforce Platform
release: "264"
---
# Lock Quip Document Action

Lock document edits to mark a Quip document as complete.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;"><a href="https://help.salesforce.com/s/articleView?id=xcloud.anywhere_use.htm&amp;language=en_US" target="_blank">View supported editions for Quip.</a></td></tr></tbody></table>

In Flow Builder, add an Action element to your flow. In the Action field, enter Quip, and select **Lock Quip Document**.

## Set Input Values

Use values from earlier in the flow to set the inputs for the action.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:33.33333333333333%">
          <col style="width:66.66666666666666%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d121362e73">Input Parameter</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d121362e75">Description</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Input Parameter" class="slds-cell-wrap" style="vertical-align:top;" headers="d121362e73 "><strong class="uicontrol">Document URL</strong></td>
            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d121362e75 ">URL of the document that you want to lock.</td>
          </tr>
          <tr class="">
            <td data-label="Input Parameter" class="slds-cell-wrap" style="vertical-align:top;" headers="d121362e73 "><strong class="uicontrol">Lock Operation</strong></td>
            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d121362e75 ">
              <p>Action of locking or unlocking the document. Only a user with full access to the
                document can lock or unlock it. Valid values are:</p>
              <ul>
                <li><kbd>lock</kbd>—To lock edits to the document, enter this
                  value.</li>
                <li><kbd>unlock</kbd>—To let users edit a locked document, enter this
                  value.</li>
              </ul>
            </td>
          </tr>
        </tbody>
      </table>

## Store Output Values

 
| Output Parameter | Description |
| --- | --- |
| **Document Lock Operation Result** | Success marker of whether the document was locked or unlocked. Possible results are **true** or **false**. |

![Example](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-platform_automation-264-0-0-production-enus/60568438-ec7e-4665-acd1-7c80dcbe60d5/images/icon_example.png)

Example A sales manager wants to lock edits to their reps’ Account Plans after a deal is closed. You can create a flow that uses the Lock Quip Document core action to lock edits to Account Plans when the Opportunity stage is set to Closed Won.

#### See Also

- [Add and Edit Elements](https://help.salesforce.com/s/articleView?id=platform.flow_build_elements.htm&release=264.0.0&type=5 "Use elements to define actions that the flow can run. When they’re on the canvas, connect them to create the order in which they run.")