---
updatedAt: 2026-11-10T06:46:55.000Z
agentTools:
  projectIndex: https://doc.superannotate.com/llms.txt
---

# Contributor

# **Contributor added to project**

Contributor events are all in relation to contributor activity.

## Configuration

In the pipeline editor's right panel, you'll find the following configurations for the **Contributor added to project** event:

* **Role:** - Specify the roles that should be considered by this event.
* **Scope:** Specify whether the automation applies at a team level (All projects), or limit its scope to a list of specific projects (Specific projects).

> 📘 In case of role deletion
>
> If a role is removed from a workflow, it may trigger any pipelines that are configured for projects using that workflow. This is based on the configuration of all **Contributor**-related event nodes tracking updates made with this role.
>
> If the role is removed from the workflow, and there’s a queue of pipeline runs triggered by changes to it in a corresponding workflow, then the remaining runs in the queue will continue being triggered with the role name changed to `Unknown`, but the `role_id` will still remain the same.

## Custom action input JSON

When the custom action is triggered by this event, the **Input** JSON will be structured as shown below. For detailed descriptions of each key, please refer to the [key dictionary](https://doc.superannotate.com/docs/key-details).

```json Event
{
    "uuid": 0,
    "event": "Contributor a",
    "ts_ms": 1769668854.819349,
    "source": {
        "folder_id": null,
        "project_id": 0
    },
    "pipeline_id": 0,
    "pipeline_name": "Placeholder Pipeline",
    "trigger_result_id": 0
}
```

```json Context
{
    "op": "a",
    "before": null,
    "ts_ms": 1765459692433,
        "after": {
"id": 0,
"organization_id": "0",
"team_id": 0,
"project_id": 0,
"role_id": 0,
"role_name": "Annotator"
"email": "example@mail.com",
"state": "PENDING",
"team_group_id": null,
"createdAt": "2026-01-14T05:24:18.000Z",
"updatedAt": "2026-01-14T05:27:21.000Z"
    }
}
```

## Agent prompt

```text Prompt
Process the following data: 
{"op": "c","before": null,"ts_ms": 1765459692433, 
"after": {"id": 0,
"organization_id": "0",
"team_id": 0,
"project_id": 0,
"role_id": 0,
role_name: "Annotator"
"email": "example@mail.com",
"state": "PENDING",
"team_group_id": null,
"createdAt": "2026-01-14T05:24:18.000Z",
"updatedAt": "2026-01-14T05:27:21.000Z"}
```

## Send Webhook Request

When the **Send webhook** action is triggered by this event, the **Request** JSON will be structured as shown below. For detailed descriptions of each key, please refer to the [key dictionary](https://doc.superannotate.com/docs/key-details).

```json Headers
{
    "Accept": "application/json;charset=UTF-8",
    "X-Event": "contributor a",
    "X-Delivery": "0",
    "Content-Type": "application/json"
}
```

```json Payload
{
    "op": "a",
    "before": null,
    "ts_ms": 1765459692433,
        "after": {
"id": 0,
"organization_id": "0",
"team_id": 0,
"project_id": 0,
"role_id": 0,
role_name: "Annotator"
"email": "example@mail.com",
"state": "PENDING",
"team_group_id": null,
"createdAt": "2026-01-14T05:24:18.000Z",
"updatedAt": "2026-01-14T05:27:21.000Z"
    }
}
```

## Send email body

When the **Send email** action is triggered by this event, the body of the email contains the following:

```Text Email body
Event - "Contributor added to project"
Email - "test@gmail.com"
Triggered by - "test team/TestProject"
```

**Event**: The event type that triggers action.

**Email**: The target email.

**Triggered by**: Specifies the team and project that triggered the event, formatted as project path `<team_name>/<project_name>`. In this case, the event was triggered by the `MyProject` project within the `MyTeam` team.

# **Contributor removed from project**

## Configuration

In the pipeline editor's right panel, you'll find the following configurations for the **Contributor removed from project** event:

* **Role:** - Specify the roles that should be considered by this event.
* **Scope:** Specify whether the automation applies at a team level (All projects), or limit its scope to a list of specific projects (Specific projects).

## Custom action input JSON

When the custom action is triggered by this event, the **Input** JSON will be structured as shown below. For detailed descriptions of each key, please refer to the [key dictionary](https://doc.superannotate.com/docs/key-details).

```json Event
{
    "uuid": 0,
    "event": "Contributor b",
    "ts_ms": 1769668854.819349,
    "source": {
        "folder_id": null,
        "project_id": 0
    },
    "pipeline_id": 0,
    "pipeline_name": "Placeholder Pipeline",
    "trigger_result_id": 0
}
```

```json Context
{
    "op": "b",
    "after": null,
    "ts_ms": 1765459692433,
        "before": {
"id": 0,
"organization_id": "0",
"team_id": 0,
"project_id": 0,
"role_id": 0,
role_name: "Annotator"
"email": "example@mail.com",
"state": "PENDING",
"team_group_id": null,
"createdAt": "2026-01-14T05:24:18.000Z",
"updatedAt": "2026-01-14T05:27:21.000Z"
    }
}
```

## Agent prompt

```text Prompt
Process the following data: 
  "before": {"id": 0,
"organization_id": "0",
"team_id": 0,
"project_id": 0,
"role_id": 1,
role_name: "Annotator"
"email": "example@mail.com",
"state": "PENDING",
"team_group_id": null,
"createdAt": "2026-01-14T05:24:18.000Z",
"updatedAt": "2026-01-14T05:27:21.000Z"}, 'after': None, 'op': 'd', 'ts_ms': 1765459692433}
```

## Send Webhook Request

When the **Send webhook** action is triggered by this event, the **Request** JSON will be structured as shown below. For detailed descriptions of each key, please refer to the [key dictionary](https://doc.superannotate.com/docs/key-details).

```json Headers
{
    "Accept": "application/json;charset=UTF-8",
    "X-Event": "contributor b",
    "X-Delivery": "0",
    "Content-Type": "application/json"
}
```

```json Payload
{
    "op": "b",
    "after": null,
    "ts_ms": 1765459692433,
        "before": {
"id": 0,
"organization_id": "0",
"team_id": 0,
"project_id": 0,
"role_id": 0,
role_name: "Annotator"
"email": "example@mail.com",
"state": "PENDING",
"team_group_id": null,
"createdAt": "2026-01-14T05:24:18.000Z",
"updatedAt": "2026-01-14T05:27:21.000Z"
    }
}
```

## Send email body

When the **Send email** action is triggered by this event, the body of the email contains the following:

```Text Email body
Event - "Contributor removed from project"
Email - "example@mail.com"
Triggered by - "test team/TestProject"
```

**Event**: The event type that triggers action.

**Email**: The target email.

**Triggered by**: Specifies the team and project that triggered the event, formatted as project path `<team_name>/<project_name>`. In this case, the event was triggered by the `MyProject` project within the `MyTeam` team.

# **Contributor project role updated**

## Configuration

In the pipeline editor's right panel, you'll find the following configurations for the **Contributor project role updated** event:

* **Role:** - Specify the roles that should be considered by this event.
* **Scope:** Specify whether the automation applies at a team level (All projects), or limit its scope to a list of specific projects (Specific projects).

## Custom action input JSON

When the custom action is triggered by this event, the **Input** JSON will be structured as shown below. For detailed descriptions of each key, please refer to the [key dictionary](https://doc.superannotate.com/docs/key-details).

```json Event
{
    "uuid": 0,
    "event": "contributor c",
    "ts_ms": 1765459883.907493,
    "source": {
       "folder_id": null,
			 "project_id": 0
    },
    "pipeline_id": 0,
    "trigger_result_id": 0
}
```

```json Context
{
    "op": "c",
    "after": {
"id": 0,
"organization_id": "0",
"team_id": 0,
"project_id": 0,
"role_id": 0,
role_name: "QA"
"email": "example@mail.com",
"state": "PENDING",
"team_group_id": null,
"createdAt": "2026-01-14T05:24:18.000Z",
"updatedAt": "2026-01-14T05:27:21.000Z"
    },
    "ts_ms": 1765459883030,
    "before": {
"id": 0,
"organization_id": "0",
"team_id": 0,
"project_id": 0,
"role_id": 0,
role_name: "Annotator"
"email": "example@mail.com",
"state": "PENDING",
"team_group_id": null,
"createdAt": "2026-01-14T05:24:18.000Z",
"updatedAt": "2026-01-14T05:27:21.000Z"
    }
}
```

## Agent prompt

```text Prompt
Process the following data: 
"after": {"id": 0,
"organization_id": "0",
"team_id": 0,
"project_id": 0,
"role_id": 0,
role_name: "QA"
"email": "example@mail.com",
"state": "PENDING",
"team_group_id": null,
"createdAt": "2026-01-14T05:24:18.000Z",
"updatedAt": "2026-01-14T05:27:21.000Z"},"before": {"id": 0,
"organization_id": "0",
"team_id": 0,
"project_id": 0,
"role_id": 0,
role_name: "Annotator"
"email": "example@mail.com",
"state": "PENDING",
"team_group_id": null,
"createdAt": "2026-01-14T05:24:18.000Z",
"updatedAt": "2026-01-14T05:27:21.000Z"}}
```

## Send Webhook Request

When the **Send webhook** action is triggered by this event, the **Request** JSON will be structured as shown below. For detailed descriptions of each key, please refer to the [key dictionary](https://doc.superannotate.com/docs/key-details).

```json Headers
{
    "Accept": "application/json;charset=UTF-8",
    "X-Event": "contributor role c",
    "X-Delivery": "0",
    "Content-Type": "application/json"
}
```

```json Payload
{
    "op": "u",
    "after": {
"id": 0,
"organization_id": "0",
"team_id": 0,
"project_id": 0,
"role_id": 0,
role_name: "QA"
"email": "example@mail.com",
"state": "PENDING",
"team_group_id": null,
"createdAt": "2026-01-14T05:24:18.000Z",
"updatedAt": "2026-01-14T05:27:21.000Z"
    },
    "ts_ms": 1765459883030,
    "before": {
"id": 0,
"organization_id": "0",
"team_id": 0,
"project_id": 0,
"role_id": 0,
role_name: "Annotator"
"email": "example@mail.com",
"state": "PENDING",
"team_group_id": null,
"createdAt": "2026-01-14T05:24:18.000Z",
"updatedAt": "2026-01-14T05:27:21.000Z"
    }
}
```

## Send email body

When the **Send email** action is triggered by this event, the body of the email contains the following:

```Text Email body
Event - "Contributor project role updated"

Email - "example@mail.com"

From Value - "Annotator"

To Value - "QA"

Triggered by - "test team/TestProject"
```

**Event**: The event type that triggers action.

**Email**: The target email.

**From**: The contributor's previous role.

**To**: The contributor's new role.

**Triggered by**: Specifies the team and project that triggered the event, formatted as project path `<team_name>/<project_name>`. In this case, the event was triggered by the `MyProject` project within the `MyTeam` team.