> ## 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.

# Set Entry Label

Set new analysis labels for entries.

<Note>
  External Documentation

  To learn more, visit the [Reco documentation](https://readme.reco.ai/reference/elementservice_setentrylabelrelations).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter       | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
  | --------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Label Relations | An array of json objects, each one representing an entry label to set.<br /><br />Required fields in each label are as follows:<br />\* `labelName`<br />\* `entryId`<br />\* `labelStatus`<br />\* `entryType`<br /><br />For example:<br /><pre><code>\[<br />  \{<br />      "labelName": "Label Name",<br />      "entryId": "00000000-0000-0000-0000-000000000000",<br />      "labelStatus": "LABEL\_STATUS\_PENDING",<br />      "entryType": "ENTRY\_TYPE\_IDENTITY"<br />    }<br />]</code></pre><br />or more information on each field, please visit [Reco's documentation](https://readme.reco.ai/reference/elementservice_setentrylabelrelations) |
</div>

## Example Output

```json theme={"dark"}
{
	"entryLabels": [
		{
			"label": {
				"name": "<string>",
				"description": "<string>",
				"tooltip": "<string>",
				"type": "<string>",
				"riskLevel": "<string>",
				"creator": "<string>",
				"isClosed": false,
				"LabelUUID": "<string>",
				"dataCategory": "<string>",
				"riskLevelChangedBy": "<string>",
				"relatedEntryTypes": "<string>"
			},
			"labelCount": "<string>",
			"labelStatus": "<string>",
			"entryType": "<string>",
			"entryId": "<string>",
			"updatedAt": "<string>",
			"attributes": {
				"analysis_date": "<string>",
				"analysis_explanation_parameters": {
					"account type by source": "<string>",
					"main active directory status": null,
					"number of deleted accounts": 1,
					"reason of deletion": [
						{
							"account_id": "<string>",
							"account_type": "<string>",
							"is_archived": null,
							"is_deleted": null,
							"is_recently_extracted": false,
							"is_suspended": false,
							"last_extraction_time": "<string>"
						}
					]
				},
				"analysis_name": "<string>",
				"analyzer_version": "<string>"
			},
			"instanceId": "<string>"
		},
		{
			"label": {
				"name": "<string>",
				"description": "<string>",
				"tooltip": "<string>",
				"type": "<string>",
				"riskLevel": "<string>",
				"creator": "<string>",
				"isClosed": false,
				"LabelUUID": "<string>",
				"dataCategory": "<string>",
				"riskLevelChangedBy": "<string>",
				"relatedEntryTypes": "<string>"
			},
			"labelCount": "<string>",
			"labelStatus": "<string>",
			"entryType": "<string>",
			"entryId": "<string>",
			"updatedAt": "<string>",
			"attributes": {
				"analysis_date": "<string>",
				"analysis_name": "<string>",
				"analyzer_explanation": "<string>",
				"analyzer_version": "<string>"
			},
			"instanceId": "<string>"
		}
	]
}
```

## Workflow Library Example

[Set Entry Label with Reco and Send Results Via Email](https://library.blinkops.com/workflows/set-entry-label-with-reco-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/set-entry-label-with-reco-and-send-results-via-email/canvas" />
</div>
