# How can I include custom fields in my delivery notes?

In this article, I'll explain how to add custom fields (also known as *variables*) to your delivery notes so that they show up on the driver app. This is particularly helpful if you need to add special instructions such as door codes or additional information such as package weight to each order.

Here's what the process look like:

<figure><img src="https://downloads.intercomcdn.com/i/o/765795269/8ed67b77c0534ade98065443/Screen+Shot+2023-06-17+at+6.52.37+AM.png?expires=1757505600&#x26;signature=85d3987ed31fb6ae32fefffb23ca004d42150c241d8c07c4e4c40f24062c6c42&#x26;req=cyYiEcB7n4dWFb4V1XW4gZBAzYxt22OYLzhu4OdQ67WUMcjRLW2lO6qcpBbR%0AsugXX97U1fsiviLVmc70YSe9gA%3D%3D%0A" alt=""><figcaption></figcaption></figure>

Suppose your drivers need to be able to see the door code at each delivery so that they can enter the building and safely leave their package inside the lobby, together with the weight and expected delivery time window. You've stored this information in a separate column on your CSV or XLS file under the column names `weight`, `time_window` and `door_code` ([parcelizer\_yvr\_sample-vrp\_custom\_fields.csv](https://downloads.intercomcdn.com/i/o/765796140/aeab207f0eb8f8ad0545af36/parcelizer_yvr_sample-vrp_custom_fields.csv?expires=1757484000\&signature=0bf38027eadfefcf6a45cf23c5f6b3a32a58dcd27cc9bb5569937c03a81de23f\&req=cyYiEcB4nIVfFb4X1HO4gYFCi3HWdQ1EmSKLucHikgSJfXulRyCcLMGW%2FkZz%0A)).

<figure><img src="https://downloads.intercomcdn.com/i/o/765796004/f657e15c876648e707223ec2/Screen+Shot+2023-06-17+at+6.42.06+AM.png?expires=1757505600&#x26;signature=7c6d2a5826eeb5c2bb19853e89860e5b7433a76118cdd7912274311648b7342d&#x26;req=cyYiEcB4nYFbFb4V1XW4gcolfmyRR38JY1We%2FPs5Hp1Ufdu1KQrFVeAUhf5S%0AVXhRRpDT3Qmd%2BSzsBXDtWiJlzQ%3D%3D%0A" alt=""><figcaption></figcaption></figure>

To add these fields to the delivery notes, first [create a route plan and import the spreadsheet](https://docs.packagelytics.com/quickstart-guide/how-to-add-orders-bulk-upload). Next, in the Delivery Notes row, type "weight:" and then click \[Add Attribute] to select the weight column. Repeat with "time\_window" and "door\_code". This dynamically adds these columns into the Delivery Notes field.

<figure><img src="https://downloads.intercomcdn.com/i/o/765805373/7de6e12e1fe97d2dcd212f71/Screen+Shot+2023-06-14+at+3.35.04+AM.png?expires=1757505600&#x26;signature=a1d0203c0dd177ad6e2e21c2a8696c5f9402718559bfd39dee2a784865a48a52&#x26;req=cyYiHsl7noZcFb4V1XW4gdH3kQX8MYmzrwPJq1gAPwUm4VfPxQFV4oYPHaN2%0AMaHpdazwTu9C5XGygAfmZeaC5g%3D%3D%0A" alt=""><figcaption></figcaption></figure>

Hit \[Done] on the bottom right to add the orders to your route plan. Now, when you look at the Order Detail View, you'll see your weight, time window and door code information included in the Delivery Notes field.

<figure><img src="https://downloads.intercomcdn.com/i/o/765807616/986306b517873eecffcf66c5/image.png?expires=1757505600&#x26;signature=f6cedf37a75fa2e4a96391863961a941672ad5b6c815a841913774080e3ecf88&#x26;req=cyYiHsl5m4BZFb4V1XW4gXgxd61%2FNzvbwxyIh9fzEpo%2FPUJ95AIcA0PvL8KZ%0ATbDTaEmsNJy8vUTE%2F%2Bbm0lVMZQ%3D%3D%0A" alt=""><figcaption></figcaption></figure>

These fields will also show up on the driver app once the order is dispatched to a driver. The next time you upload a spreadsheet, Parcelizer will remember the text and custom fields you added to driver notes so you won't need to repeat the process again.

{% file src="/files/ZUYX0IuuaAKV9LVqL1Vk" %}


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.packagelytics.com/advanced-features/how-can-i-include-custom-fields-in-my-delivery-notes.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
