Rolebase Developers
API Reference

meeting_template

A reusable meeting configuration that defines the structure and flow of meetings, helping organizations standardize their meeting formats.

Fields

Field Type Description
id uuid Unique identifier for the template
orgId uuid Reference to the organization
title String Title of the template
stepsConfig [meeting_step_config] Array of step configurations defining the meeting structure

Relationships

Object Relationships:

  • org — The organization this template belongs to

Step Configuration

The stepsConfig array defines the meeting structure. Each entry includes:

  • id — Unique step identifier
  • type — Step type (Tour, Threads, Checklist, Indicators, Tasks)
  • title — Display title for the step

Query Examples

List Meeting Templates

query meetingTemplates($orgId: uuid!) {
  meeting_template(
    where: { orgId: { _eq: $orgId } }
    order_by: { title: asc }
  ) {
    id
    orgId
    title
    stepsConfig
  }
}

Mutation Examples

Create a Meeting Template

mutation createMeetingTemplate {
  insert_meeting_template_one(
    object: {
      orgId: "org-id"
      title: "Weekly Team Sync"
      stepsConfig: [
        { id: "step-1", type: Tour, title: "Notes" }
        { id: "step-2", type: Threads, title: "Topics" }
        { id: "step-3", type: Checklist, title: "Checklist" }
        { id: "step-4", type: Indicators, title: "Indicators" }
        { id: "step-5", type: Tasks, title: "Tasks" }
      ]
    }
  ) {
    id
    title
    stepsConfig
  }
}

Update a Meeting Template

mutation updateMeetingTemplate($id: uuid!) {
  update_meeting_template_by_pk(
    pk_columns: { id: $id }
    _set: {
      title: "Updated Team Sync"
      stepsConfig: [{ id: "step-1", type: Tour, title: "Notes" }]
    }
  ) {
    id
    title
    stepsConfig
  }
}

Delete a Meeting Template

mutation deleteMeetingTemplate($id: uuid!) {
  delete_meeting_template_by_pk(id: $id) {
    id
  }
}

Permissions

Organization members can view, create, update, and delete templates within their organization. Templates are organization-wide resources accessible to all members.

Info Circle Notes

Templates can be used for both one-time and recurring meetings. The order of steps in stepsConfig determines the meeting flow. Changes to a template do not affect existing meetings already created from it.