Domo

App · 25 actions

Manage Domo users, groups, DataSets and pages, query and load data, and read the activity log.

Actions

ActionWhat it does
Add user to groupAdd a user to a group.
Create DataSetCreate an empty DataSet with the columns given.
Create groupCreate a group of Domo users.
Create pageCreate a page, at the top level or under another page.
Create userAdd a user to Domo, and optionally email them an invitation.
Delete DataSetDelete a DataSet for good, with the cards built on it.
Delete groupDelete a group for good.
Delete pageDelete a page for good.
Delete userDelete a user from Domo for good.
Export DataSet dataGet a DataSet's rows as CSV text.
Get DataSetGet a DataSet's details and columns.
Get pageGet a page's details, its cards and who can see it.
Get userGet one Domo user by ID.
Import data into DataSetReplace a DataSet's rows, or add to them, from CSV text in the DataSet's column order.
List activity logList what people did in Domo between two times, optionally for one user.
List DataSetsList DataSets, optionally by name, a page at a time.
List group membersList the IDs of the users in a group.
List groupsList the groups in Domo, a page at a time.
List pagesList the pages in Domo, a page at a time, with their subpages.
List usersList the users in Domo, a page at a time.
Query DataSetRun a SQL query on a DataSet and return its rows.
Remove user from groupTake a user out of a group.
Update DataSetRename a DataSet or change its description.
Update groupRename a group, or make it active, inactive or the default.
Update userChange a user's details.

Add user to group

Add a user to a group.

Inputs

GroupgroupnumberRequired
The Domo group.
UserusernumberRequired
The Domo user.

Outputs

dataobject
The response from Domo.
Example output
{
  "data": {}
}

Create DataSet

Create an empty DataSet with the columns given. Import data into it next.

Inputs

NamenametextRequired
The DataSet's name.
Descriptiondescriptiontext
What the DataSet holds.
ColumnscolumnslistRequired
The DataSet's columns, in order, each with a name and a type.

Outputs

dataobject
The response from Domo.
Example output
{
  "data": {
    "columns": 1,
    "createdAt": "example",
    "dataCurrentAt": "example",
    "description": "example",
    "id": "example",
    "name": "example",
    "owner": {
      "id": 1,
      "name": "example"
    },
    "pdpEnabled": true,
    "rows": 1,
    "schema": {
      "columns": [
        {
          "name": "example",
          "type": "example"
        }
      ]
    },
    "updatedAt": "example"
  }
}

Create group

Create a group of Domo users.

Inputs

NamenametextRequired
The group's name.
Default groupdefaulttrue/false
Make it the group new users join.

Outputs

dataobject
The response from Domo.
Example output
{
  "data": {
    "active": true,
    "creatorId": "example",
    "default": true,
    "id": 1,
    "memberCount": 1,
    "name": "example"
  }
}

Create page

Create a page, at the top level or under another page.

Inputs

NamenametextRequired
The page's name.
Parent pageparentnumber
The page to put it under. Leave empty for the top level.
Lockedlockedtrue/false
Only the owner can change the page.
Card IDscard_idslist
IDs of cards to show on the page.

Outputs

dataobject
The response from Domo.
Example output
{
  "data": {
    "cardIds": [
      1
    ],
    "collectionIds": [
      1
    ],
    "id": 1,
    "locked": true,
    "name": "example",
    "ownerId": 1,
    "parentId": 1,
    "visibility": {
      "groupIds": [
        1
      ],
      "userIds": [
        1
      ]
    }
  }
}

Create user

Add a user to Domo, and optionally email them an invitation.

Inputs

EmailemailtextRequired
The user's email address.
NamenametextRequired
The user's full name.
RoleroletextRequired
The user's role.One of: Participant, Privileged, Admin.
Job titletitletext
The user's job title.
Phonephonetext
The user's phone number.
Alternate emailalternate_emailtext
A second email address for the user.
Locationlocationtext
Where the user works, such as a city or office.
Departmentdepartmenttext
The user's department.
Time zonetimezonetext
The time zone Domo shows times in, such as America/Denver.
Employee numberemployee_numbernumber
The user's employee number.
Send invitationsend_invitetrue/false
Email the new user an invitation to Domo.Default: false.

Outputs

dataobject
The response from Domo.
Example output
{
  "data": {
    "alternateEmail": "example",
    "createdAt": "example",
    "deleted": true,
    "department": "example",
    "email": "example",
    "employeeId": "example",
    "employeeNumber": 1,
    "id": 1,
    "locale": "example",
    "location": "example",
    "name": "example",
    "phone": "example",
    "role": "example",
    "roleId": 1,
    "timezone": "example",
    "title": "example",
    "updatedAt": "example"
  }
}

Delete DataSet

Delete a DataSet for good, with the cards built on it.

Inputs

DataSetdatasettextRequired
The DataSet.

Outputs

dataobject
The response from Domo.
Example output
{
  "data": {}
}

Delete group

Delete a group for good. Its members stay in Domo.

Inputs

GroupgroupnumberRequired
The Domo group.

Outputs

dataobject
The response from Domo.
Example output
{
  "data": {}
}

Delete page

Delete a page for good. Its cards stay in Domo.

Inputs

PagepagenumberRequired
The page.

Outputs

dataobject
The response from Domo.
Example output
{
  "data": {}
}

Delete user

Delete a user from Domo for good.

Inputs

UserusernumberRequired
The Domo user.

Outputs

dataobject
The response from Domo.
Example output
{
  "data": {}
}

Export DataSet data

Get a DataSet's rows as CSV text.

Inputs

DataSetdatasettextRequired
The DataSet.
Include headerinclude_headertrue/false
Start the CSV with a row of column names.Default: true.

Outputs

dataobject
The response from Domo.
Example output
{
  "data": {
    "csv": "example",
    "dataset": "example",
    "rows": 1
  }
}

Get DataSet

Get a DataSet's details and columns.

Inputs

DataSetdatasettextRequired
The DataSet.

Outputs

dataobject
The response from Domo.
Example output
{
  "data": {
    "columns": 1,
    "createdAt": "example",
    "dataCurrentAt": "example",
    "description": "example",
    "id": "example",
    "name": "example",
    "owner": {
      "id": 1,
      "name": "example"
    },
    "pdpEnabled": true,
    "rows": 1,
    "schema": {
      "columns": [
        {
          "name": "example",
          "type": "example"
        }
      ]
    },
    "updatedAt": "example"
  }
}

Get page

Get a page's details, its cards and who can see it.

Inputs

PagepagenumberRequired
The page.

Outputs

dataobject
The response from Domo.
Example output
{
  "data": {
    "cardIds": [
      1
    ],
    "collectionIds": [
      1
    ],
    "id": 1,
    "locked": true,
    "name": "example",
    "ownerId": 1,
    "parentId": 1,
    "visibility": {
      "groupIds": [
        1
      ],
      "userIds": [
        1
      ]
    }
  }
}

Get user

Get one Domo user by ID.

Inputs

UserusernumberRequired
The Domo user.

Outputs

dataobject
The response from Domo.
Example output
{
  "data": {
    "alternateEmail": "example",
    "createdAt": "example",
    "deleted": true,
    "department": "example",
    "email": "example",
    "employeeId": "example",
    "employeeNumber": 1,
    "id": 1,
    "locale": "example",
    "location": "example",
    "name": "example",
    "phone": "example",
    "role": "example",
    "roleId": 1,
    "timezone": "example",
    "title": "example",
    "updatedAt": "example"
  }
}

Import data into DataSet

Replace a DataSet's rows, or add to them, from CSV text in the DataSet's column order.

Inputs

DataSetdatasettextRequired
The DataSet.
CSV rowscsvtextRequired
The rows as CSV, one row per line in the DataSet's column order, with no header row.
Update methodupdate_methodtext
Replace every row, or add these after the rows already there.One of: REPLACE (Replace all rows), APPEND (Add to the rows). Default: REPLACE.

Outputs

dataobject
The response from Domo.
Example output
{
  "data": {
    "dataset": "example",
    "rows_sent": 1,
    "update_method": "example"
  }
}

List activity log

List what people did in Domo between two times, optionally for one user.

Inputs

Fromstartdate and timeRequired
The earliest event to list.
Untilenddate and time
The latest event to list.
Userusernumber
Only what this user did.
Limitlimitnumber
How many to return, at most 1000.From 1 to 1000. Default: 50.
Offsetoffsetnumber
How many to skip first, to read the next page.At least 0.

Outputs

datalist
The response from Domo.
Example output
{
  "data": [
    {
      "actorId": 1,
      "actorType": "example",
      "additionalComment": "example",
      "browserDetails": "example",
      "device": "example",
      "eventText": "example",
      "ipAddress": "example",
      "objectId": "example",
      "objectName": "example",
      "objectType": "example",
      "time": "example",
      "userId": "example",
      "userName": "example",
      "userType": "example"
    }
  ]
}

List DataSets

List DataSets, optionally by name, a page at a time.

Inputs

Name containsname_liketext
Only DataSets whose name contains this text.
Ordersorttext
The order to list them in.One of: name (Name, A to Z), -name (Name, Z to A), -lastTouched (Most recently used first), lastTouched (Least recently used first), -lastUpdated (Most recently updated first), lastUpdated (Least recently updated first), -cardCount (Most cards first), cardCount (Fewest cards first).
Limitlimitnumber
How many to return, at most 50.From 1 to 50. Default: 50.
Offsetoffsetnumber
How many to skip first, to read the next page.At least 0.

Outputs

datalist
The response from Domo.
Example output
{
  "data": [
    {
      "columns": 1,
      "createdAt": "example",
      "dataCurrentAt": "example",
      "description": "example",
      "id": "example",
      "name": "example",
      "owner": {
        "id": 1,
        "name": "example"
      },
      "pdpEnabled": true,
      "rows": 1,
      "schema": {
        "columns": [
          {
            "name": "example",
            "type": "example"
          }
        ]
      },
      "updatedAt": "example"
    }
  ]
}

List group members

List the IDs of the users in a group.

Inputs

GroupgroupnumberRequired
The Domo group.
Limitlimitnumber
How many to return, at most 500.From 1 to 500. Default: 50.
Offsetoffsetnumber
How many to skip first, to read the next page.At least 0.

Outputs

datalist
The response from Domo.
Example output
{
  "data": [
    1
  ]
}

List groups

List the groups in Domo, a page at a time.

Inputs

Limitlimitnumber
How many to return, at most 500.From 1 to 500. Default: 50.
Offsetoffsetnumber
How many to skip first, to read the next page.At least 0.

Outputs

datalist
The response from Domo.
Example output
{
  "data": [
    {
      "active": true,
      "creatorId": "example",
      "default": true,
      "id": 1,
      "memberCount": 1,
      "name": "example"
    }
  ]
}

List pages

List the pages in Domo, a page at a time, with their subpages.

Inputs

Limitlimitnumber
How many to return, at most 50.From 1 to 50. Default: 50.
Offsetoffsetnumber
How many to skip first, to read the next page.At least 0.

Outputs

datalist
The response from Domo.
Example output
{
  "data": [
    {
      "children": [
        {
          "id": 1,
          "name": "example"
        }
      ],
      "id": 1,
      "name": "example"
    }
  ]
}

List users

List the users in Domo, a page at a time.

Inputs

Limitlimitnumber
How many to return, at most 500.From 1 to 500. Default: 50.
Offsetoffsetnumber
How many to skip first, to read the next page.At least 0.

Outputs

datalist
The response from Domo.
Example output
{
  "data": [
    {
      "alternateEmail": "example",
      "createdAt": "example",
      "deleted": true,
      "department": "example",
      "email": "example",
      "employeeId": "example",
      "employeeNumber": 1,
      "id": 1,
      "locale": "example",
      "location": "example",
      "name": "example",
      "phone": "example",
      "role": "example",
      "roleId": 1,
      "timezone": "example",
      "title": "example",
      "updatedAt": "example"
    }
  ]
}

Query DataSet

Run a SQL query on a DataSet and return its rows. Name the DataSet table in the query: SELECT * FROM table.

Inputs

DataSetdatasettextRequired
The DataSet.
SQLsqltextRequired
The query, such as SELECT name, amount FROM table WHERE amount > 100.

Outputs

dataobject
The response from Domo.
Example output
{
  "data": {
    "columns": [
      "example"
    ],
    "datasource": "example",
    "fromCache": true,
    "numColumns": 1,
    "numRows": 1,
    "rows": [
      [
        "example"
      ]
    ]
  }
}

Remove user from group

Take a user out of a group.

Inputs

GroupgroupnumberRequired
The Domo group.
UserusernumberRequired
The Domo user.

Outputs

dataobject
The response from Domo.
Example output
{
  "data": {}
}

Update DataSet

Rename a DataSet or change its description.

Inputs

DataSetdatasettextRequired
The DataSet.
Namenametext
The DataSet's new name.
Descriptiondescriptiontext
The DataSet's new description.

Outputs

dataobject
The response from Domo.
Example output
{
  "data": {
    "columns": 1,
    "createdAt": "example",
    "dataCurrentAt": "example",
    "description": "example",
    "id": "example",
    "name": "example",
    "owner": {
      "id": 1,
      "name": "example"
    },
    "pdpEnabled": true,
    "rows": 1,
    "schema": {
      "columns": [
        {
          "name": "example",
          "type": "example"
        }
      ]
    },
    "updatedAt": "example"
  }
}

Update group

Rename a group, or make it active, inactive or the default.

Inputs

GroupgroupnumberRequired
The Domo group.
Namenametext
The group's new name.
Activeactivetrue/false
Whether the group is active.
Default groupdefaulttrue/false
Whether new users join this group.

Outputs

dataobject
The response from Domo.
Example output
{
  "data": {
    "active": true,
    "creatorId": "example",
    "default": true,
    "id": 1,
    "memberCount": 1,
    "name": "example"
  }
}

Update user

Change a user's details. Fields left empty stay as they are.

Inputs

UserusernumberRequired
The Domo user.
Emailemailtext
The user's email address.
Namenametext
The user's full name.
Roleroletext
The user's role.One of: Participant, Privileged, Admin.
Job titletitletext
The user's job title.
Phonephonetext
The user's phone number.
Alternate emailalternate_emailtext
A second email address for the user.
Locationlocationtext
Where the user works, such as a city or office.
Departmentdepartmenttext
The user's department.
Time zonetimezonetext
The time zone Domo shows times in, such as America/Denver.
Employee numberemployee_numbernumber
The user's employee number.

Outputs

dataobject
The response from Domo.
Example output
{
  "data": {
    "alternateEmail": "example",
    "createdAt": "example",
    "deleted": true,
    "department": "example",
    "email": "example",
    "employeeId": "example",
    "employeeNumber": 1,
    "id": 1,
    "locale": "example",
    "location": "example",
    "name": "example",
    "phone": "example",
    "role": "example",
    "roleId": 1,
    "timezone": "example",
    "title": "example",
    "updatedAt": "example"
  }
}

On this page