quickest-silver
quickest-silver4mo ago

[Solved ✅] List all Actions of an APP

I would like to list the actions of an App via the SDK. see here: @router.get("/v0/actions/{app_name}", response_model=AvailableActionsResponse) async def get_actions_by_app_name(app_name: str) -> AvailableActionsResponse: try: # Initialize the Composio client composio_client = Composio() # Convert app name to uppercase app_name_upper = app_name.upper() # Fetch available actions for the specified app name available_actions = composio_client.actions.get(app=App.SHOPIFY) # Structure the action information action_info = [ ActionInfo( name=action.name, identifier=action.key, description=action.description, category=action.category, logo=action.logo, tool_type="composio", ) for action in available_actions ] # Return the structured response return AvailableActionsResponse(actions=action_info) except HTTPException as http_ex: # Re-raise HTTP exceptions to preserve status code and detail raise http_ex except Exception as e: # Handle other exceptions and return a generic error response raise HTTPException(status_code=500, detail="An unexpected error occurred.") i tried a few different styles of how i could write it but i never succeded, by the way is there a Documentation for the SDKs?
11 Replies
correct-apricot
correct-apricot4mo ago
Is the issue happening again??
quickest-silver
quickest-silverOP4mo ago
So we figurerd out how the get the actions
quickest-silver
quickest-silverOP4mo ago
but we are struggeling with something else, for example if we want to connect to clickup we have the problem that it outputs this after trying to connect:
No description
Soham
Soham4mo ago
Hi Checking this!
quickest-silver
quickest-silverOP4mo ago
Thank you very much
fascinating-indigo
fascinating-indigo4mo ago
Hey @Lucas | CO-Head B-Bot | CTO - I just checked it on our end. Can you create a new integration and connect your account again?
quickest-silver
quickest-silverOP4mo ago
Ok i will try immidiatly i tried but i get the same error
fascinating-indigo
fascinating-indigo4mo ago
weird - can we jump on a quick voice chat in the 30 minutes to debug this?
quickest-silver
quickest-silverOP4mo ago
when will you be able to hop on a call tomorrow?
quickest-silver
quickest-silverOP3mo ago
Hey there i am waiting in the meeting @Karthikeya hey there, are you here? is there a possibility i can the information you wanted me to provide with anytime soon?

Did you find this page helpful?