> For the complete documentation index, see [llms.txt](https://ups-doc.iben.pro/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ups-doc.iben.pro/ups-global-settings/various-actions.md).

# Various actions

### Automatic actions after label created

**Change order status:** You can select the order status you want to be changed immediately after the shipment and label are created. It supports custom orders states

**Copy UPS tracking code:** After voucher  creation, the tracking number will be copied to the target fields.&#x20;

Enabling this option a new text field is displayed. In this fi

Fill class or ID name. For multiple targets separated by **|**  Include # for ID and . for css class in the prefix. Example for valid targets: #iben\_field\_name\_id | .iben\_field\_name\_class

**Example.** Probably you may have an extra plugin that you add the tracking number to a specific field, you click a button and your customer will receive an email about UPS shipping details, etc. For this case, this feature (**Copy UPS tracking code**) is good because it will automatically copy the newly generated number to this extra plugin.

### Check automatically shipments delivery

iBen ups have a built-in feature to track all your shipments packages and check if have been delivered.

**Choose running frequency:** Select the frequent time that this tool will run

**Select limit of query:** Select how many shipments will be checked each time

**Enable email notification:** Check if you want to be notified in your email for new delivered shipments

**Change order status:** You can select the order status you want to be changed immediately after the shipment has been delivered. It supports custom orders states

### Delete old generated PDF

By using the iBen UPS plugin various files are temporarily saved in your WP uploads folder to maximize the user experience.

These files are shipment labels, bulk combined PDFs, commercial invoices, etc.

It is very safe and preferred to delete those especially after a shipment has been delivered because you won't use them anymore.

This tool will keep your server files clean and prevent exceeding your quota space.

**Enable PDF deletions:** Check to enable this tool

**Enable for Combined too:** Check to enable this tool for combined PDFs too. (Recommended checked)

**Choose running frequency:** Choose how often to check for if there are available assets to delete

**Choose shipment statement:**

* All delivered shipments
* All delivered shipments except for last 1 week - Recommended
* All delivered shipments except for the last 2 weeks
* All delivered shipments except for last 1 month


---

# 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 dynamically by asking a question.

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

```
GET https://ups-doc.iben.pro/ups-global-settings/various-actions.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
