{"id":11779,"date":"2025-11-29T09:41:42","date_gmt":"2025-11-29T09:41:42","guid":{"rendered":"https:\/\/www.greytrix.com\/blogs\/salesforce\/?p=11779"},"modified":"2025-11-25T09:46:02","modified_gmt":"2025-11-25T09:46:02","slug":"one-click-approvals-in-salesforce-automate-approval-processes-using-autolaunched-flows","status":"publish","type":"post","link":"https:\/\/www.greytrix.com\/blogs\/salesforce\/2025\/11\/29\/one-click-approvals-in-salesforce-automate-approval-processes-using-autolaunched-flows\/","title":{"rendered":"One-Click Approvals in Salesforce: Automate Approval Processes Using Autolaunched Flows"},"content":{"rendered":"\n<p>Approval Processes in Salesforce are essential for managing purchase requests, expenses, contracts, and other business approvals in a controlled and trackable way. However, Salesforce doesn&#8217;t provide a simple \u201cSubmit for Approval\u201d button out of the box for custom objects unless additional automation is used.<\/p>\n\n\n\n<p>By combining an <strong>Autolaunched Flow<\/strong> with a <strong>Salesforce Approval Process<\/strong>, we can create a clean, one-click submission experience directly from the record page.<br>In this blog, we\u2019ll demonstrate how to achieve this using:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A Custom Object (Purchase Request)<\/li>\n\n\n\n<li>An Autolaunched Flow<\/li>\n\n\n\n<li>A Salesforce Approval Process<\/li>\n<\/ul>\n\n\n\n<p>This approach allows users to submit requests quickly while keeping the approval stages fully automated without using any code.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">Requirement<\/mark><\/strong><\/h2>\n\n\n\n<p>Users need a simple, one-click way to submit Purchase Requests for manager approval. The status of the request should automatically update based on approval or rejection\u2014using no Apex code.<\/p>\n\n\n\n<p><strong>Step 1: Custom Object \u2013 Purchase Request<\/strong><\/p>\n\n\n\n<p>Let\u2019s consider a custom object Purchase Request, created to track and manage purchasing needs.<br>It includes a picklist field Status with values such as Submitted, Approved, and Rejected.<\/p>\n\n\n\n<center><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2025\/11\/1.-Purchase-Request.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px; align: center;\" src=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2025\/11\/1.-Purchase-Request.png\" alt=\"Purchase Request\"><\/a><\/center><font size=\"2\"><center><i>Purchase Request<\/i><\/center><\/font>\n\n\n\n<p><strong>Step 2: Create the Approval Process<\/strong><\/p>\n\n\n\n<p>Set up an Approval Process for the Purchase Request object.<\/p>\n\n\n\n<center><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2025\/11\/2.-Purchase-Request-Approval-Process.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px; align: center;\" src=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2025\/11\/2.-Purchase-Request-Approval-Process.png\" alt=\"Purchase Request Approval Process\"><\/a><\/center><font size=\"2\"><center><i>Purchase Request Approval Process<\/i><\/center><\/font>\n\n\n\n<p><strong>Final Approval Action<\/strong><\/p>\n\n\n\n<p>Add a Field Update to automatically set <strong>Status = Approved<\/strong>.<\/p>\n\n\n\n<center><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2025\/11\/3.-Final-Approval-Action.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px; align: center;\" src=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2025\/11\/3.-Final-Approval-Action.png\" alt=\"Final Approval Action\"><\/a><\/center><font size=\"2\"><center><i>Final Approval Action<\/i><\/center><\/font>\n\n\n\n<p><strong>Final Rejection Action<\/strong><\/p>\n\n\n\n<p>Add another Field Update to set <strong>Status = Rejected<\/strong>.<\/p>\n\n\n\n<center><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2025\/11\/4.-Final-Rejection-Action.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px; align: center;\" src=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2025\/11\/4.-Final-Rejection-Action.png\" alt=\"Final Rejection Action\"><\/a><\/center><font size=\"2\"><center><i>Final Rejection Action<\/i><\/center><\/font>\n\n\n\n<p><strong>Step 3: Build the Autolaunched Flow<\/strong><\/p>\n\n\n\n<p>Create an <strong>Autolaunched Flow<\/strong> that submits the record for approval.<\/p>\n\n\n\n<center><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2025\/11\/5.-Purchase-Approval-Flow.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px; align: center;\" src=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2025\/11\/5.-Purchase-Approval-Flow.png\" alt=\"Purchase Approval Flow\"><\/a><\/center><font size=\"2\"><center><i>Purchase Approval Flow<\/i><\/center><\/font>\n\n\n\n<center><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2025\/11\/6.-RecordId-Variable.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px; align: center;\" src=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2025\/11\/6.-RecordId-Variable.png\" alt=\"RecordId Variable\"><\/a><\/center><font size=\"2\"><center><i>RecordId Variable<\/i><\/center><\/font>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><strong>Note<\/strong>:<br>It is mandatory to create a variable RecordId<strong> <\/strong>as the flow needs to know which specific record to act on.<\/p>\n<\/blockquote>\n\n\n\n<center><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2025\/11\/7.-Updated-Purchase-Request.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px; align: center;\" src=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2025\/11\/7.-Updated-Purchase-Request.png\" alt=\"Updated Purchase Request\"><\/a><\/center><font size=\"2\"><center><i>Updated Purchase Request<\/i><\/center><\/font>\n\n\n\n<p><strong>Step 4: Add the Submit Button on the Layout<\/strong><br><br>Create a custom button labeled <strong>Submit for Approval<\/strong> and add it to the page layout.<\/p>\n\n\n\n<center><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2025\/11\/8.-Submit-Approval-Button.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px; align: center;\" src=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2025\/11\/8.-Submit-Approval-Button.png\" alt=\"Submit Approval Button\"><\/a><\/center><font size=\"2\"><center><i>Submit Approval Button<\/i><\/center><\/font>\n\n\n\n<p><strong>Button URL<\/strong><br><br>\/flow\/PR_Submit_Approval_Flow?recordId={!Purchase_Request__c.Id}<\/p>\n\n\n\n<p>When the user clicks this button, the Flow runs automatically and submits that specific Purchase Request for manager approval.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">Conclusion<\/mark><\/strong><\/h2>\n\n\n\n<p>With a Flow-powered \u201cSubmit for Approval\u201d button, users can send Purchase Requests for approval instantly without navigating through multiple steps. The Flow handles submission, updates the status to Submitted, and the Approval Process manages the final <strong>Approved<\/strong> or <strong>Rejected<\/strong> update.<\/p>\n\n\n\n<p>This seamless integration makes your approval cycles faster, fully automated, and easy to track.<\/p>\n\n\n\n<p>Automating Purchase Requests with Flow and Approval Processes not only enhances user experience but also ensures consistent and controlled business operations.<\/p>\n\n\n\n<p>By following the above blog instructions, you will be able to learn <strong>One-Click Approvals in Salesforce: Automate Approval Processes Using Autolaunched Flows<\/strong>. If you still have queries or any related problems, don\u2019t hesitate to contact us at <a href=\"mailto:salesforce@greytrix.com\" target=\"_blank\" rel=\"noreferrer noopener\">salesforce@greytrix.com<\/a>. More details about our integration product are available on <a href=\"https:\/\/www.greytrix.com\/salesforce-cloud-services\/sage-intacct-integration\/\" target=\"_blank\" rel=\"noreferrer noopener\">our website<\/a> and <a href=\"https:\/\/appexchange.salesforce.com\/appxListingDetail?listingId=a0N30000000psM5EAI\" target=\"_blank\" rel=\"noreferrer noopener\">Salesforce AppExchange<\/a>.<\/p>\n\n\n\n<p>We hope you may find this blog resourceful and helpful. However, if you still have concerns and need more help, please contact us at <a href=\"mailto:salesforce@greytrix.com\" target=\"_blank\" rel=\"noreferrer noopener\">salesforce@greytrix.com<\/a>.<\/p>\n\n\n\n<p style=\"text-align: justify\"><b>About Us<\/b><\/br>\n<p><a href=\"https:\/\/www.greytrix.com\/\">Greytrix<\/a> \u2013 a globally recognized and one of the oldest Sage Development Partner and a Salesforce Product development partner offers a wide variety of integration products and services to the end users as well as to the Partners and Sage PSG across the globe. We offer Consultation, Configuration, Training and support services in out-of-the-box functionality as well as customizations to incorporate custom business rules and functionalities that require apex code incorporation into the Salesforce platform.<br><br> Greytrix has some unique solutions for Cloud CRM such as <a href=\"\">Salesforce Sage integration<\/a> for <a href=\"https:\/\/www.greytrix.com\/sage-x3-erp\/integration\/\">Sage X3<\/a>, <a href=\"https:\/\/www.greytrix.com\/salesforce-cloud-services\/sage-100-integration\/\">Sage 100<\/a> and <a href=\"https:\/\/www.greytrix.com\/salesforce-cloud-services\/sage-300-integration\/\">Sage 300 (Sage Accpac)<\/a>. We also offer best-in-class Cloud CRM <a href=\"https:\/\/www.greytrix.com\/salesforce-cloud-services\/crm-development\/\">Salesforce customization and development services<\/a> along with services such as Salesforce <a href=\"https:\/\/www.greytrix.com\/salesforce-cloud-services\/data-migration-support\/\">Data Migration<\/a>, <a href=\"https:\/\/www.greytrix.com\/salesforce-cloud-services\/crm-development\/\">Integrated App development<\/a>, Custom App development and Technical Support business partners and end users. Salesforce Cloud CRM integration offered by Greytrix works with Lightning web components and supports standard opportunity workflow. Greytrix GUMU&#x2122; integration for Sage ERP \u2013 Salesforce is a 5-star rated app listed on <a href=\"https:\/\/appexchange.salesforce.com\/appxListingDetail?listingId=a0N30000000psM5EAI\" target=\"_blank\" rel=\"noopener\">Salesforce AppExchange<\/a>.<br> The GUMU&#x2122; Cloud framework by Greytrix forms the backbone of cloud integrations that are managed in real-time for processing and execution of application programs at the click of a button.<br><br> For more information on our Salesforce products and services, contact us at <a href=\"mailto:salesforce@greytrix.com\">salesforce@greytrix.com<\/a>. We will be glad to assist you.<\/p>\n\n\n\n<p><strong>Related Posts<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/admin.salesforce.com\/blog\/2024\/level-up-your-approvals-with-flows-and-the-custom-error-element-automate-this\" target=\"_blank\" rel=\"noreferrer noopener\">Level Up Your Approvals with Flows and the Custom Error Element<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/salesforcebreak.com\/2025\/02\/12\/approval-salesforce-flow-approval-process\/\" target=\"_blank\" rel=\"noopener\">Supercharge Your Approvals with Salesforce Flow Approval Processes<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/thepinqclouds.com\/blog\/developer-insights\/streamlining-approvals-with-salesforce-flow\/\" target=\"_blank\" rel=\"noopener\">Salesforce Flow: The future of Automated Approvals<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Approval Processes in Salesforce are essential for managing purchase requests, expenses, contracts, and other business approvals in a controlled and trackable way. However, Salesforce doesn&#8217;t provide a simple \u201cSubmit for Approval\u201d button out of the box for custom objects unless additional automation is used. By combining an Autolaunched Flow with a Salesforce Approval Process, we\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/2025\/11\/29\/one-click-approvals-in-salesforce-automate-approval-processes-using-autolaunched-flows\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[2508,1226,2500,2496,2504,1541,2502,2506,2511,2513,367,2495,2514,2509,2501,2507,1712,2499,2469,2503,2515,2505,2512,2498,2510,2497,546],"class_list":["post-11779","post","type-post","status-publish","format-standard","hentry","category-salesforce-srv","tag-approval-management-in-salesforce","tag-approval-process","tag-approval-workflow-salesforce","tag-auto-launched-flow-tutorial","tag-automating-business-approvals","tag-flow-builder","tag-flow-submission-process","tag-flow-driven-approval-submission","tag-no-code-salesforce-solutions","tag-record-approval","tag-salesforce","tag-salesforce-approval-automation","tag-salesforce-business-process","tag-salesforce-button-automation","tag-salesforce-custom-object-automatio","tag-salesforce-declarative-automation","tag-salesforce-flow","tag-salesforce-flow-best-practices","tag-salesforce-flow-builder","tag-salesforce-flow-use-cases","tag-salesforce-no-code","tag-salesforce-process-automation-tips","tag-salesforce-productivity-automation","tag-salesforce-record-automation","tag-salesforce-record-updates","tag-submit-for-approval-button-salesforce","tag-workflow-automation"],"_links":{"self":[{"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/posts\/11779","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/comments?post=11779"}],"version-history":[{"count":35,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/posts\/11779\/revisions"}],"predecessor-version":[{"id":12095,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/posts\/11779\/revisions\/12095"}],"wp:attachment":[{"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/media?parent=11779"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/categories?post=11779"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/tags?post=11779"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}