Skip to main content

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.

ParameterTypeRequiredDescription
pageNumberintThe page number for pagination. If not provided, defaults to the first page. Optional.
pagingCookiestringThe 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.

ParameterTypeRequiredDescription
projectNamestringThe 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.

ParameterTypeRequiredDescription
projectIdGUIDThe 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.

ParameterTypeRequiredDescription
logicRecipeNamestringThe name of the logic recipe.
projectNamestringThe 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.

ParameterTypeRequiredDescription
logicRecipeNamestringThe name of the logic recipe to create.
projectNamestringThe name of the project to create the logic recipe in.
entityLogicalNamestringThe logical name for the recipe entity.
metadatastringThe metadata for the logic recipe in JSON format.
titlestringThe title for the logic recipe. Optional.
descriptionstringThe 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.

ParameterTypeRequiredDescription
logicRecipeIdGUIDThe ID of the logic recipe to update.
metadatastringThe 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.

ParameterTypeRequiredDescription
logicRecipeNamestringThe name of the logic recipe.
projectNamestringThe name of the project for the logic recipe.
entityLogicalNamestringThe logical name for the recipe entity.
metadatastringThe metadata for the logic recipe in JSON format.
disabledboolIndicates whether the logic recipe is disabled. Defaults to false.
titlestringThe title for the logic recipe. Optional.
descriptionstringThe 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.

ParameterTypeRequiredDescription
logicRecipeNamestringThe name of the logic recipe.
projectNamestringThe name of the project the logic recipe belongs to.

Returns: A dependency report including:

Dependency TypeDescription
Logic Block DependenciesLogic Blocks attached directly to this recipe
Logic Flow DependenciesLogic Flows attached directly to this recipe
Configuration DependenciesConfiguration records used by the recipe's attached logic
Localized Resource DependenciesLocalized 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.