# Recipe Functions By Workato
The Recipe Functions connector allows you to build recipes that can be called from other recipes.
Called a Recipe Function, this recipe type is triggered by a call from another recipe. Use this connector to separate repeatable sets of actions into recipes that you can re-use in other recipes.
If you're migrating from Callable Recipes, check out the Migrating to Recipe Functions and API Recipes guide for help making the switch.
# Usage Inspiration
Need some inspiration? Using Recipe Functions, you could:
- Reduce testing efforts. Grouping sets of actions into dedicated recipes instead of repeating them makes your workflows easier to test and modify.
- Increase recipe readability. Breaking steps into smaller recipes that you can call where needed means recipes are easier to read.
- Single-source recipe steps. Build once and re-use anywhere! For example: If you have a standardized error notification policy, create one recipe and then re-use it to prevent redundancy.
- Verify recipe users at runtime. Using Runtime user connections, you can allow users to use their own credentials when recipes are run.
Looking to expose REST APIs? Check out the API Platform connector.
Let's say we want to build this workflow:
Read new/updated contact info from a database
Perform some data transformation
Create new accounts in Salesforce
Add the new Salesforce accounts to a MailChimp campaign
Back the data up in a Redshift database
To accomplish this, we'll split the workflow into four recipes:
Parent (calling) recipe: Start the workflow; retrieve data from the database
Recipe 1: Create Salesforce accounts
Recipe 2: Add contacts to a MailChimp campaign
Recipe 3: Back contact data up to Amazon Redshift
By splitting this workflow into multiple recipes, we can re-use recipes elsewhere without triggering this workflow. This design approach reduces the number of redundant steps in our recipes.
Check out the following diagram to see how these recipes are connected.
WHO CAN SET UP CONNECTIONS?
Collaborators must have the Create Connections privilege to create connections.
No configuration is required to set up this connector.
To learn how to use recipe functions in other recipes, check out the walkthrough.
The Recipe Functions connector supports the following recipe triggers:
The Recipe Functions connector supports the following recipe actions: