Logic Recipe Tools
Overview
Logic Recipes are the attachment mechanism that connects Logic Blocks and Logic Flows to Dataverse entity events. They define when and where logic executes: which entity, which event (Create, Update, Delete), and which lifecycle phase (Pre-Operation, Post-Operation).
A Recipe is what bridges the Flowon logic you design with the actual runtime behaviour of Dataverse - without a Recipe, a Logic Block or Flow has no trigger.
list_all_logic_recipes
Lists FlowOn logic recipes.
| Parameter | Type | Required | Description |
|---|---|---|---|
pageNumber | int | The page number for pagination. If not provided, defaults to the first page. Optional. | |
pagingCookie | string | The paging cookie for pagination. This should be provided if pageNumber is provided and there are more records to retrieve. Optional. |
Returns: A paginated list of Logic Recipes including name, project, and target entity logical name.
See Pagination for details on iterating through large result sets.
list_logic_recipes_by_project
Lists FlowOn logic recipes by project name.
| Parameter | Type | Required | Description |
|---|---|---|---|
projectName | string | ✓ | The name of the project to filter logic recipes by. |
Returns: A list of Logic Recipes within the specified project, including each recipe's target entity.
list_logic_recipes_by_project (by ID)
Lists FlowOn logic recipes by project id.
| Parameter | Type | Required | Description |
|---|---|---|---|
projectId | GUID | ✓ | The ID of the project to filter logic recipes by. |
Returns: A list of Logic Recipes within the specified project.
get_logic_recipe_details
Gets the details for a FlowOn logic recipe.
| Parameter | Type | Required | Description |
|---|---|---|---|
logicRecipeName | string | ✓ | The name of the logic recipe. |
projectName | string | ✓ | The name of the project the logic recipe belongs to. |
Returns: Full Logic Recipe details including target entity, event configuration, lifecycle phase, and all attached logic blocks and flows.
Use when: You need to understand which logic is attached to an entity event before adding or modifying logic for that entity.
create_logic_recipe
Creates a new FlowOn logic recipe and returns the logic recipe id.
| Parameter | Type | Required | Description |
|---|---|---|---|
logicRecipeName | string | ✓ | The name of the logic recipe to create. |
projectName | string | ✓ | The name of the project to create the logic recipe in. |
entityLogicalName | string | ✓ | The logical name for the recipe entity. |
metadata | string | ✓ | The metadata for the logic recipe in JSON format. |
title | string | The title for the logic recipe. Optional. | |
description | string | The description for the logic recipe. Optional. |
Returns: The GUID of the newly created Logic Recipe and its URL.
Restriction: Cannot be called on projects associated with a managed solution. See Managed Solution Protection.
update_logic_recipe_metadata
Updates FlowOn logic recipe metadata.
| Parameter | Type | Required | Description |
|---|---|---|---|
logicRecipeId | GUID | ✓ | The ID of the logic recipe to update. |
metadata | string | ✓ | The updated metadata for the logic recipe in JSON format. |
Returns: Confirmation that the update succeeded.
Best practice: Always call get_logic_recipe_details first to read the current metadata before updating, to avoid unintentionally overwriting parts of the definition you did not intend to change.
get_logic_recipe_preview_url
Get preview url for Flowon logic recipe.
| Parameter | Type | Required | Description |
|---|---|---|---|
logicRecipeName | string | ✓ | The name of the logic recipe. |
projectName | string | ✓ | The name of the project for the logic recipe. |
entityLogicalName | string | ✓ | The logical name for the recipe entity. |
metadata | string | ✓ | The metadata for the logic recipe in JSON format. |
disabled | bool | Indicates whether the logic recipe is disabled. Defaults to false. | |
title | string | The title for the logic recipe. Optional. | |
description | string | The description for the logic recipe. Optional. |
Returns: A preview URL for the logic recipe.
list_logic_recipe_dependencies
Lists the dependencies between for a specific FlowOn logic recipe.
| Parameter | Type | Required | Description |
|---|---|---|---|
logicRecipeName | string | ✓ | The name of the logic recipe. |
projectName | string | ✓ | The name of the project the logic recipe belongs to. |
Returns: A dependency report including:
| Dependency Type | Description |
|---|---|
| Logic Block Dependencies | Logic Blocks attached directly to this recipe |
| Logic Flow Dependencies | Logic Flows attached directly to this recipe |
| Configuration Dependencies | Configuration records used by the recipe's attached logic |
| Localized Resource Dependencies | Localized strings used by the recipe's attached logic |
Use when: Before modifying any logic that a Recipe references, call this tool to confirm the full scope of what the Recipe depends on.