Flow: After configure flow we need to call flow to execute flow and it will call business automation process.
There are couple of ways to call:
- Process Builder
- Custom Button
- Process Builder: We need to configure based on criteria. For example: Opportunity close won, Account type change
- Customer Button: Create custom button in any object and select flow which you want to call
Let’s create custom button in lead object:
- Click Setup
- Click Object Manager
- Search Lead
- Click Buttons, Links, and Actions
- Click New Action
- Select Action Type Flow
- We have to add Create Account button in page layout
- Click Page Layout
- Select Page Layout
- Open Lead
- Call Flow
We can add create “Create Account” button in any object.