> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Add User To Space

Add user to a space or chat.

<Note>
  External Documentation

  To learn more, visit the [Google Chat documentation](https://developers.google.com/chat/api/reference/rest/v1/spaces.members/create).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter            | Description                                                    |
  | -------------------- | -------------------------------------------------------------- |
  | Add User To          | To which space type to add the user.                           |
  | Chat                 | The resource name of the chat.<br />Format: spaces/{space}.    |
  | Member Email Address | The email address of the Google Chat user to add to the space. |
  | Member Type          | The type of the member to add to the space.                    |
  | Space                | The resource name of the space.<br />Format: spaces/{space}.   |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter               | Description                                                                                                                                                                                                                                                                                                                  |
  | ----------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Delegated User Override | Perform the action on behalf of another user, overriding the delegated user defined in the connection.<br /><br />If not specified, the delegated user is the one provided in the connection.<br /><br />Has no effect when using an OAuth connection.<br /><br />NOTE: the connection details are not edited by this input. |
</div>

## Example Output

```json theme={"dark"}
{
	"name": "spaces/AAAFF75edfb4/members/12323534632451324",
	"state": "JOINED",
	"member": {
		"name": "users/12323534632451324",
		"type": "HUMAN",
		"isAnonymous": true
	},
	"createTime": "2023-08-27T18:15:37.463648Z",
	"role": "ROLE_MEMBER"
}
```

## Workflow Library Example

[Add User to Space with Google Chat and Send Results Via Email](https://library.blinkops.com/workflows/add-user-to-space-with-google-chat-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/add-user-to-space-with-google-chat-and-send-results-via-email/canvas" />
</div>
