> 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
