## Documentation Index Access the complete documentation index at: https://www.zoho.com/ke/books/kb/llms.txt Use this file to discover all available documentation pages before proceeding. [Back](./) # Is it possible to automatically update the amount to a potential in Zoho CRM, once the status of the invoice associated to it is changed to paid in Zoho Books? ![](/books/images/ue-resources/llm-utility-menu/sparkle-ai.svg) Explore With AI ![](/books/images/ue-resources/llm-utility-menu/dd-arrow.svg) * [Open in ChatGPT (opens in new tab)](https://chatgpt.com/?prompt=Analyze+the+content+of+https%3A%2F%2Fwww.zoho.com%2Fke%2Fbooks%2Fkb%2Fautomation%2Finvoice-amount-zoho-crm.html+and+understand+it+thoroughly+so+I+can+ask+questions+about+it.) * [Open in Claude (opens in new tab)](https://claude.ai/new?q=Analyze+the+content+of+https%3A%2F%2Fwww.zoho.com%2Fke%2Fbooks%2Fkb%2Fautomation%2Finvoice-amount-zoho-crm.html+and+understand+it+thoroughly+so+I+can+ask+questions+about+it.) * ![Copy for LLM](/books/images/ue-resources/llm-utility-menu/copy.svg) Copy for LLM * [![View as Markdown](/books/images/ue-resources/llm-utility-menu/md.svg) View as Markdown (opens in new tab)](/ke/books/kb/automation/invoice-amount-zoho-crm.md) Yes, this can be achieved, by using webhooks and workflow rules. Let us zip through the process: Go to **Settings -> Automation -> Webhooks**. Now create a new webhook with the following parameters: * **Name:** updateCRM * **Module:** Invoice * **URL to notify:** [https://crm.zoho.com/crm/private/xml/Potentials/updateRecords](https://crm.zoho.com/crm/private/xml/Potentials/updateRecords) * **Method:** POST ![Webhook code for invoice total](/books/kb/images/automation/invoice-total-webhook-details.png) * Add the required Parameters. * **Entity parameters:** Check the box that says Append Selected Parameters and conditions should be **Parameter Name: id = Invoice -> Parameter Value: ZCRM Potential ID** * Next, check the box that says **Add User defined Parameters**, specify Parameter Name as xmlData, type in the code and insert the placeholder for Invoice total (**${INVOICE.INVOICE\_TOTAL}**) as shown in the image below. Click on **Save**. ![Webhook code for invoice total](/books/kb/images/automation/invoice-total-webhook.png) Next, navigate to **Workflow Rules** and set up a workflow rule with the following parameters: * **Module:** Invoice * **When to trigger:** When an Invoice is Edited * **Execute the workflow:** When any field is updated * Choose the frequency; just once or everytime * **Filter the trigger:** When Status is Paid * **Action:** **Type -** Webhooks **Name -** updateCRM Don’t forget to hit **Save**. This will ensure to update the amount in the invoice in Zoho CRM, when its status is changed to paid in Zoho Books.