ZapierToolkit
- api_key (str): The API key for authenticating with Zapier’s API.
- base_url (str): The base URL for Zapier’s API endpoints.
- timeout (Optional[float]): The timeout value for API requests in seconds. If None, no timeout is applied. (default: :obj:
None
)
init
list_actions
execute_action
- action_id (str): The ID of the Zapier action to execute.
- instructions (str): Natural language instructions for executing the action. For example: “Send an email to john@example.com with subject ‘Hello’ and body ‘How are you?’”
preview_action
- action_id (str): The ID of the Zapier action to preview.
- instructions (str): Natural language instructions for previewing the action. For example: “Send an email to john@example.com with subject ‘Hello’ and body ‘How are you?’”
get_execution_result
- execution_id (str): The execution ID returned from execute_action.