Route app licensing requests by storage type

Recipe Tools

What it does

When a function call arrives, this automation checks the storage type and routes to the correct licensing lookup. The result returns to the calling workflow so it gets the right app data.

Who it's for

IT teams who manage app licensing across multiple storage systems.

How teams use this

Route licensing lookups by storage type

Direct incoming licensing requests to the correct data source based on whether the system uses a lookup table or Snowflake. The routing happens automatically so callers always get the right data.

Support multiple storage backends

Maintain app licensing data in both lookup table and Snowflake systems without duplicating logic. Add a condition to check the storage type property and route each request to its matching function.

Centralize licensing data access

Let other workflows call this function instead of managing their own routing logic. All licensing requests flow through one place, making updates easier to manage.

How it works

  1. Receive a function call. A function call arrives with the app licensing request and storage type information needed to route it to the correct data source.
  2. Check if storage is lookup table. If the storage type is lookup table, the Workato Recipe Function calls the lookup table licensing function to retrieve the app data.
  3. Check if storage is Snowflake. If the storage type is Snowflake, the Workato Recipe Function calls the Snowflake licensing and price book function instead.
  4. Return the result. The Workato Recipe Function sends the licensing data back to the calling workflow so it has the app information it needs.