---
schema_version: "1"
id: 652628da8bf4c9384a9853302e2e24a189ff6e0e60b5f4a3cae9dfdd3001c013
title: Configure Custom Logic in a Synchronous Flow
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/dro_synchronous_invocable_action_call.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.dro_synchronous_invocable_action_call.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 84d80a048a7cd607266cae401a50da8ef7f08d352c644fe59465279e702dfdf9
description: When you configure the Decompose Sales Transaction and Orchestrate Sales Transaction invocable actions in a synchronous request, the flow executes the actions sequentially.
products:
  - Revenue Cloud
release: "264"
---
# Configure Custom Logic in a Synchronous Flow

When you configure the Decompose Sales Transaction and Orchestrate Sales Transaction invocable actions in a synchronous request, the flow executes the actions sequentially.

![A sample af a synchronous flow with custom logic between decomposition and orchestration steps](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-revenue-264-0-0-production-enus/91ca99c6-d5c8-4986-b961-c6b7801e0d0d/revenue/images/dro/dro_hook_custom_logic_synch.png)

1. Create a Autolaunched Flow (No Trigger).
2. Add the Decompose Sales Transaction invocable action to the flow.
3. Set intakeRequestType to `Synchronous`.
4. Add custom logic such as decision steps to check the status or subflows to run external validations.
5. Add the Orchestrate Sales Transaction invocable action to the flow.
6. Set intakeRequestType to `Synchronous`.
7. Save and activate the flow.