Skip to main content
Glama

get_workflow_by_id

Retrieve a specific workflow from Alteryx Server using its unique identifier to access and manage automation processes.

Instructions

Get a workflow by its ID

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
workflow_idYes

Implementation Reference

  • The core handler function implementing the get_workflow_by_id tool. It calls the Alteryx workflows API to retrieve the workflow by ID, formats the response using pprint, and handles ApiException errors.
    def get_workflow_by_id(self, workflow_id: str): """Get a workflow by its ID""" try: api_response = self.workflows_api.workflows_get_workflow(workflow_id) return pprint.pformat(api_response) except ApiException as e: return f"Error: {e}"
  • MCP tool registration decorator and wrapper function in the server that delegates execution to the AlteryxTools instance method.
    @self.app.tool() def get_workflow_by_id(workflow_id: str): """Get a workflow by its ID""" return self.tools.get_workflow_by_id(workflow_id)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jupiterbak/AYX-MCP-Wrapper'

If you have feedback or need assistance with the MCP directory API, please join our Discord server