Skip to main content
Glama

add_schedule_to_collection

Add a schedule to a collection in Alteryx by specifying the collection ID and schedule ID to automate workflow execution.

Instructions

Add a schedule to a collection by its ID

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
collection_idYes
schedule_idYes

Implementation Reference

  • The core handler function that implements the logic to add a schedule to a collection by verifying existence and calling the Alteryx collections API.
    def add_schedule_to_collection(self, collection_id: str, schedule_id: str): """Add a schedule to a collection by its ID""" try: collection = self.collections_api.collections_get_collection(collection_id) if not collection: return "Error: Collection not found" schedule = self.schedules_api.schedules_get_schedule(schedule_id) if not schedule: return "Error: Schedule not found" contract = server_client.AddScheduleContract(schedule_id=schedule_id) api_response = self.collections_api.collections_add_schedule_to_collection(collection_id, contract) return pprint.pformat(api_response) except ApiException as e: return f"Error: {e}"
  • MCP server registration of the tool, which wraps and delegates to the handler in AYXMCPTools.
    @self.app.tool() def add_schedule_to_collection(collection_id: str, schedule_id: str): """Add a schedule to a collection by its ID""" return self.tools.add_schedule_to_collection(collection_id, schedule_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