# PM Blocks

A PM Block is a single task in your processes that enables you to efficiently execute complex steps without any hassle. Use PM Blocks to build and share tricky or commonly used sections of your processes as one Modeler element.

Edit a PM Block independently and see the changes reflected automatically in all processes where it is used. Use the Import/Export feature to quickly move PM Blocks between your test and production environments.

{% hint style="info" %} <mark style="color:orange;">**Good to know**</mark>**:** ProcessMaker offers ready-made PM Blocks that you can import and use to simplify your process design.
{% endhint %}

## Use a Built-in PM Block

Watch the demo below to learn how to use one of our built-in and ready to use PM Blocks, or access our interactive tour for step-by-step instructions.&#x20;

{% tabs %}
{% tab title="Auto Play" %}
{% embed url="<https://demos.processmaker.com/demo/clkgw8awf5j9kzg70u7jnw3v5>" fullWidth="true" %}
{% endtab %}

{% tab title="Interactive Tour" %}
{% embed url="<https://demos.processmaker.com/demo/qhjZvQkucQR_qCDJcrO1x>" fullWidth="true" %}
{% endtab %}
{% endtabs %}

## Import a PM Block

Watch the demo below to learn how to import a PM Block, or access our interactive tour for step-by-step instructions.&#x20;

{% tabs %}
{% tab title="Auto Play" %}
{% embed url="<https://demos.processmaker.com/demo/clkvbcx7tbj5czgthvqby9m0m>" %}
{% endtab %}

{% tab title="Interactive Tour" %}
{% embed url="<https://demos.processmaker.com/demo/ICiqT_d9D2HBevg1hAdpd>" %}
{% endtab %}
{% endtabs %}

#### The Currency Converter PM Block

Download and import the currency converter PM Block to quickly perform currency conversions.

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

## Use a PM Block in a Process

Watch the demo below to learn how to use a PM Block in a process, or access our interactive tour for step-by-step instructions.&#x20;

{% tabs %}
{% tab title="Auto Play" %}
{% embed url="<https://demos.processmaker.com/demo/clkve3qzrczotzgthkigbr0ze>" %}
{% endtab %}

{% tab title="Interactive Tour" %}
{% embed url="<https://demos.processmaker.com/demo/B_tyTs0Kf7zkMzkMOby-x>" %}
{% endtab %}
{% endtabs %}

#### Process for Adding a PM Block

Download a pre-built process and add the currency converter PM Block to it.&#x20;

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

## Create a New PM Block

Watch the demo below to learn how to create a PM Block, or access our interactive tour for step-by-step instructions.&#x20;

{% tabs %}
{% tab title="Auto Play" %}
{% embed url="<https://demos.processmaker.com/demo/clk9t3oq2j2b7zggk4prppyxm>" fullWidth="true" %}
{% endtab %}

{% tab title="Interactive Tour" %}
{% embed url="<https://demos.processmaker.com/demo/mG-GKnnN5CKPMLYzBVMZF>" %}
{% endtab %}
{% endtabs %}


---

# 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://processmaker.gitbook.io/quick-start-guides/platform/process-designer/pm-blocks.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.
