Skip to main content

Abstra Project API

Connect to another Abstra project to query tables and execute connector actions remotely.

Abstra Project API Logo

Authentication​

This connector uses Token-based authentication.

info

Set up your connection in the Abstra Console before using it in your workflows.

How to use​

Using the Smart Chat​

Execute the action "CHOOSE_ONE_ACTION_BELOW" from my connector "YOUR_CONNECTOR_NAME" using the params "PARAMS_HERE".

Using the Web Editor​

from abstra.connectors import run_connection_action

result = run_connection_action(
connection_name="your_connection_name",
action_name="your_action_name",
params={
"param1": "value1",
"param2": "value2"
})

Available Actions​

This connector provides 16 actions:

ActionPurposeParameters
tables_selectExecute a read-only SELECT query on a project tabletableName (string) required
query (string) required
params (array)
tables_insertExecute an INSERT query on a project tabletableName (string) required
query (string) required
params (array)
tables_updateExecute an UPDATE query on a project tabletableName (string) required
query (string) required
params (array)
tables_deleteExecute a DELETE query on a project tabletableName (string) required
query (string) required
params (array)
connectors_executeExecute an action on an external connector e.g. AWS, Slack, StripeconnectionName (string) required
actionName (string) required
parameters (object)
connectors_list_connectionsList available connections in the remote project scoped to token permissionsNo parameters
connectors_list_actionsList available actions for a connection in the remote projectconnectionName (string) required
search (string)
connectors_get_action_detailGet detailed schema for a specific action on a connectionconnectionName (string) required
actionName (string) required
roles_listList roles in the projectlimit (integer)
offset (integer)
roles_createCreate a new role in the projectname (string) required
description (string)
roles_updateUpdate an existing role in the projectroleId (string) required
description (string) required
roles_deleteDelete a role from the projectroleId (string) required
role_grants_listList who holds the project's roles: the people, email domains, teams and organization each role is given torole (string)
role_grants_addGive a role to a person, an email domain, a team or the organizationrole (string) required
kind (string) required
value (string) required
role_grants_removeTake a role away from a person, an email domain, a team or the organizationrole (string) required
kind (string) required
value (string) required
user_roles_getGet the roles a person holds in the project, from every source: the project's users list, their email, their domain, their teams and the organizationemail (string) required