Logic Recipe Tools
Overview
Logic Recipes bind logic to a Dataverse entity's events; each recipe targets an entity via entityLogicalName. Flowon Logic Assist supports searching, listing, reading, creating, and updating Logic Recipes, as well as inspecting their dependencies. Logic Recipe tooling requires the Logic Composer product.
search_logic_recipes
Searches Flowon logic recipes by name.
| Parameter | Type | Required | Description |
|---|---|---|---|
logicRecipeName | string | ✓ | The name of the logic recipe to search for. |
Returns: Matching Logic Recipes including name, project, and target entity logical name.
list_logic_recipes
Lists Flowon logic recipes. Pass the optional projectId to scope the results to a single project.
| Parameter | Type | Required | Description |
|---|---|---|---|
projectId | GUID | The ID of the project to filter logic recipes by. Optional. | |
pageNumber | int | The page number for pagination. If not provided, defaults to the first page. | |
pagingCookie | string | The paging cookie for pagination. This should be provided if pageNumber is provided and there are more records to retrieve. |
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.
get_logic_recipe_details
Gets the details for a Flowon logic recipe.
| Parameter | Type | Required | Description |
|---|---|---|---|
logicRecipeId | GUID | ✓ | The ID of the logic recipe. |
Returns: Full Logic Recipe details including target entity, event configuration, lifecycle phase, and all attached logic blocks and flows.
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. |
projectId | GUID | ✓ | The ID 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.
Restriction: Cannot be called on projects associated with a managed solution. See Managed Solution Protection.
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 a preview URL for a Flowon logic recipe.
| Parameter | Type | Required | Description |
|---|---|---|---|
logicRecipeName | string | ✓ | The name of the logic recipe. |
projectId | GUID | ✓ | The ID 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 for a specific Flowon logic recipe.
| Parameter | Type | Required | Description |
|---|---|---|---|
logicRecipeId | GUID | ✓ | The ID of the logic recipe. |
Returns: A dependency report of the artifacts this recipe uses and the artifacts that use it.