> For the complete documentation index, see [llms.txt](https://docs.struct.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.struct.com/pim3/tutorials/helpful-guides/how-to-use-business-rules/how-to-automate-price-conversion.md).

# How to automate price conversion

Business rules allow you to automate price conversion between different currencies

When working with business rules you can change a specific localized value of an [attribute](/pim3/fundamental-concepts/attributes.md). This makes it possible to convert the local price to other currencies.

Start by making a Business rule that [triggers](/pim3/reference/product-model-setup/business-rules/business-rule-details/triggers/trigger-details.md) when the price [attributes](/pim3/fundamental-concepts/attributes.md) change.

<figure><img src="https://3609403033-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZJAMIKVcqchSDbt4A7DE%2Fuploads%2FmgaNDvzCTkbjAgNAUvpU%2Fimage.png?alt=media&amp;token=2463ca25-2a88-45bd-8ff3-2857f06683ec" alt=""><figcaption><p>Business rule setup page</p></figcaption></figure>

Then make [conditions](/pim3/reference/product-model-setup/business-rules/business-rule-details/conditions/condition-details.md) to check if the price was set. This can be done by checking if the price was empty before.

<figure><img src="https://3609403033-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZJAMIKVcqchSDbt4A7DE%2Fuploads%2FOPytquPi94GshA704opf%2Fimage.png?alt=media&amp;token=778aea8d-10e6-46a1-ac5d-eb7a493bb1de" alt=""><figcaption><p>Business rule setup page</p></figcaption></figure>

Within each [condition](/pim3/reference/product-model-setup/business-rules/business-rule-details/conditions/condition-details.md) you can then set up an [action](/pim3/reference/product-model-setup/business-rules/business-rule-details/actions/action-details.md) to convert the price. In this example the List Price (EUR) is converted to List Price (DKK).&#x20;

<figure><img src="https://3609403033-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZJAMIKVcqchSDbt4A7DE%2Fuploads%2FWxxi6otKh9QnhU5aAluP%2Fimage.png?alt=media&amp;token=e5da6c9c-c924-4022-9534-ee1e11c28b75" alt=""><figcaption><p>Configure action</p></figcaption></figure>


---

# 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.struct.com/pim3/tutorials/helpful-guides/how-to-use-business-rules/how-to-automate-price-conversion.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.
