# Medialoopster Add Asset To Project Action

The medialoopster Add Asset To Project Action adds an asset to a project within medialoopster.

To do this, you must know the medialoopster project/collection ID of the corresponding Helmut4 project in medialoopster. This ID is available if the project was created by Helmut4 using the [medialoopster Create Project Action](/helmut4-releases/helmut4-components/streamdesigner/nodes/actions/third-party/nachtblau-1/medialoopster-6/medialoopster-create-project-action.md) node.

You can retrieve the ID by using the wildcard: {[project.custom](/helmut4-releases/helmut4-components/streamdesigner/wildcards/project-related-wildcards-27/project-custom.md).medialoopster}.

Alternatively, if the project/collection ID has been saved to a project's metadata, that value can be used as well.

When an asset is added to medialoopster, the asset ID assigned by medialoopster is written to Helmut4's database and is accessible via the wildcard: {[job.custom](/helmut4-releases/helmut4-components/streamdesigner/wildcards/job-related-wildcards-32/job-custom.md).medialoopster}.

The asset ID is also returned through [{stream.last\_result}](/helmut4-releases/helmut4-components/streamdesigner/wildcards/result-or-return-wildcards-2/stream-last_result.md) or [{node.result.?}](/helmut4-releases/helmut4-components/streamdesigner/wildcards/result-or-return-wildcards-2/node-result.md).

The correct asset type must be selected for the corresponding asset—Video, Image, or Audio.

Existing asset metadata can be passed on to medialoopster, depending on whether the "Add metadata" toggle is enabled.

Additionally, the "Move asset" toggle will either move the asset to a system folder or leave it in its current location.

You can also set a deletion or retention date for the asset using the wildcard: [{date.increment.days.?}](/helmut4-releases/helmut4-components/streamdesigner/wildcards/date-and-time-21/date-increment-days.md).

{% hint style="warning" %}
It is important that the medialoopster node is placed before the [Cosmo Add Asset To Project Action](/helmut4-releases/helmut4-components/streamdesigner/nodes/actions/cosmo-16/cosmo-add-asset-to-project-action.md) node; otherwise, the custom metadata referring to the asset ID will not be set correctly.
{% endhint %}

<figure><img src="/files/FqQV63slcvUAo3GT1bu0" alt="" width="315"><figcaption><p>Medialoopster Add Asset To Project Action</p></figcaption></figure>


---

# 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.helmut.de/helmut4-releases/helmut4-components/streamdesigner/nodes/actions/third-party/nachtblau-1/medialoopster-6/medialoopster-add-asset-to-project-action.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.
