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

# Update Template Custom Fields

Update a given template's custom fields.

<Note>
  External Documentation

  To learn more, visit the [Docusign documentation](https://developers.docusign.com/docs/esign-rest-api/reference/templates/templatecustomfields/update/).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter          | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
  | ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | List Custom Fields | An array of the template's list custom fields. For more information see [Docusign documentation](https://developers.docusign.com/docs/esign-rest-api/reference/templates/templatecustomfields/update/#schema__templatecustomfields_listcustomfields).<br /><br /><pre><code>\[<br />    \{<br />      "listItems": \[<br />        "sample string 1"<br />      ],<br />      "fieldId": "sample string 1",<br />      "name": "sample string 2",<br />      "show": "sample string 3",<br />      "required": "sample string 4",<br />      "value": "sample string 5",<br />      "configurationType": "sample string 6"<br />    }<br />  ]<br /></code></pre> |
  | Template ID        | The ID of the template. Can be obtained by using the `List Templates` action.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
  | Text Custom Fields | An array of the template's text custom fields. For more information see [Docusign documentation](https://developers.docusign.com/docs/esign-rest-api/reference/templates/templatecustomfields/update/#schema__templatecustomfields_textcustomfields).<br /><br />Valid format is:<br /><pre><code>\[<br />  \{<br />    "fieldId": "sample string 1",<br />    "name": "sample string 2",<br />    "show": "sample string 3",<br />    "required": "sample string 4",<br />    "value": "sample string 5",<br />    "configurationType": "sample string 6"<br />  }<br />]</code></pre>                                                                           |
</div>

## Example Output

```json theme={"dark"}
{
	"textCustomFields": [
		{
			"fieldId": "<string>",
			"name": "<string>",
			"errorDetails": {
				"errorCode": "<string>",
				"message": "<string>"
			}
		}
	],
	"listCustomFields": [
		{
			"listItems": [
				"sample string 1"
			],
			"fieldId": "sample string 1",
			"name": "sample string 2",
			"show": "sample string 3",
			"required": "sample string 4",
			"value": "sample string 5",
			"configurationType": "sample string 6"
		}
	]
}
```

## Workflow Library Example

[Update Template Custom Fields with Docusign and Send Results Via Email](https://library.blinkops.com/workflows/update-template-custom-fields-with-docusign-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/update-template-custom-fields-with-docusign-and-send-results-via-email/canvas" />
</div>
