> For the complete documentation index, see [llms.txt](https://docs.novacura.com/flow-connect/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.novacura.com/flow-connect/working-with-connect/connect-to-systems/connectors/nicelabel/setting-up-nicelabel-automation-to-accept-flow-requests.md). Agents can also search and read this documentation through its [MCP server](https://docs.novacura.com/flow-connect/~gitbook/mcp).

# Setting up NiceLabel Automation to accept Flow requests

1. Start NiceLabel Automation Builder and create a new configuration.

<figure><img src="https://1716064794-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIIgl6sNaTky0iALxYWHH%2Fuploads%2F1C3V1AIVKtaBPsPi5K1l%2Fimage.png?alt=media&amp;token=56bd777c-05a4-430f-9855-abc53b71a070" alt=""><figcaption></figcaption></figure>

2. Select **TCP/IP Server Trigger**.

<figure><img src="https://1716064794-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIIgl6sNaTky0iALxYWHH%2Fuploads%2FOjvVN2cRkPdKHqcEEpUw%2Fimage.png?alt=media&amp;token=3ec08fda-8d64-473c-acdc-ff519ca73875" alt=""><figcaption></figcaption></figure>

3. Note the **Port number** (this will be used in connector configuration).

<figure><img src="https://1716064794-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIIgl6sNaTky0iALxYWHH%2Fuploads%2F2bDNdFElFrqwTPMs6NJE%2Fimage.png?alt=media&amp;token=f1d2c959-6207-44db-8b2f-d523d1ce7610" alt=""><figcaption></figcaption></figure>

4. Select **DataFileName** from **Internal Variables**.

<figure><img src="https://1716064794-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIIgl6sNaTky0iALxYWHH%2Fuploads%2F5K05gyxrylzPvOVQXHiM%2Fimage.png?alt=media&amp;token=c47b6cae-0fcf-4d4f-a535-7f4117ae182a" alt=""><figcaption></figcaption></figure>

5. From **All Actions**, select **Run Command File**.

<figure><img src="https://1716064794-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIIgl6sNaTky0iALxYWHH%2Fuploads%2FAbY3zSeKGiTmH1BQK51z%2Fimage.png?alt=media&amp;token=8ae305a0-24bd-4162-9d92-6b086c385ff6" alt=""><figcaption></figcaption></figure>

6. Set the **File Type** to **XML File**, and set the **DataFileName** internal variable as the **File Name**.

<figure><img src="https://1716064794-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIIgl6sNaTky0iALxYWHH%2Fuploads%2FmmAsxcFnuzoIBw5fQcxo%2Fimage.png?alt=media&amp;token=22cf2000-45eb-4b14-9270-6019596fb36c" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1716064794-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIIgl6sNaTky0iALxYWHH%2Fuploads%2FFlBnVM2dZ05EADCMSFhy%2Fimage.png?alt=media&amp;token=61a0b818-6102-42af-81eb-874cfb7a1e49" alt=""><figcaption></figcaption></figure>

7. Save the configuration to a suitable folder.

<figure><img src="https://1716064794-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIIgl6sNaTky0iALxYWHH%2Fuploads%2FvHjlsPcT3GPipz8JpFcN%2Fimage.png?alt=media&amp;token=decbecfd-c5ba-4cf4-b76e-41ec82c57278" alt=""><figcaption></figcaption></figure>

8. Start **Automation Manager** and select the saved configuration.

<figure><img src="https://1716064794-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIIgl6sNaTky0iALxYWHH%2Fuploads%2FM0ij5ENSrfU0emAPp5Hy%2Fimage.png?alt=media&amp;token=adfeda11-2f8b-407e-a370-ec3e10b291e2" alt=""><figcaption></figcaption></figure>

9. Start the configuration process.

<figure><img src="https://1716064794-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIIgl6sNaTky0iALxYWHH%2Fuploads%2FriTPd4Flg6iLf0biykU4%2Fimage.png?alt=media&amp;token=a8804a55-a9b6-46ff-86e7-bd90e4dc19ae" alt=""><figcaption></figcaption></figure>

10. Configure the **NiceLabel connector** in Flow. Use the **TCP/IP port number** from step 3.

<figure><img src="https://1716064794-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIIgl6sNaTky0iALxYWHH%2Fuploads%2Ft0miwrIBKostXclnR5bq%2Fimage.png?alt=media&amp;token=b83769c2-30d8-464c-8a5a-efb5bf3c6092" alt=""><figcaption></figcaption></figure>

13. When a request is sent from Flow, the trigger will execute it and the status will be updated.

<figure><img src="https://1716064794-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIIgl6sNaTky0iALxYWHH%2Fuploads%2FdEXqMRGsMg7lFdoZMaWj%2Fimage.png?alt=media&amp;token=e4c0b605-50a6-46b9-b35b-6377fe31784a" alt=""><figcaption></figcaption></figure>

14. An example Flow looks like this;

<figure><img src="https://1716064794-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIIgl6sNaTky0iALxYWHH%2Fuploads%2FPjUrKQBCsEeRa8IMvQI3%2Fimage.png?alt=media&amp;token=3a28fe75-18e3-4521-841e-578ebf10546d" alt=""><figcaption></figcaption></figure>

15. The execution command for NiceLabel looks like this in the Script Step ;

<figure><img src="https://1716064794-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIIgl6sNaTky0iALxYWHH%2Fuploads%2FV1XhSIHPeSZyGPXWEt9f%2Fimage.png?alt=media&amp;token=7388cdec-6671-4e9c-8dc4-630c60f6de85" alt=""><figcaption></figcaption></figure>

**Note:** The label file and printer must be available on the NiceLabel server.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.novacura.com/flow-connect/working-with-connect/connect-to-systems/connectors/nicelabel/setting-up-nicelabel-automation-to-accept-flow-requests.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
