> For the complete documentation index, see [llms.txt](https://user.netmera.com/netmera-user-guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://user.netmera.com/netmera-user-guide/omnichannel-engagement/journey-orchestration/journey-components/action/fire-event.md).

# Fire event

An event records something that happened. Event attributes add details about that occurrence. For example, a `View Product` event can include the product name, category, and price.

Use **Fire Event** to record an event when a user reaches a journey step. Define the event and its attributes using fixed values or values from the journey context.

### Step 1: Add the action

1. In **Journey Builder**, select **Add Step**.
2. Under **Action**, select **Fire Event**.
3. Enter a **Step Name**.

Use a name that identifies the recorded event, such as `Record product view`. The name appears only in the journey builder.

<figure><img src="https://1642824329-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FX6uilbEAw42gqsudlclY%2Fuploads%2FslaoIVsqW3i3yLhLzhwN%2FScreenshot%202024-10-02%20at%2015.35.02.png?alt=media&amp;token=a5e4d7ff-03fa-4c35-9a90-e743946ecedb" alt="Fire Event action in the journey builder" width="297"><figcaption><p>Select <strong>Fire Event</strong> from the Action section.</p></figcaption></figure>

### Step 2: Select the event

Select the event in **Select Event**.

Choose the event that represents the action or outcome you want to record. The event name identifies the occurrence. Its attributes describe it.

For example, select `View Product` to record that event when a user reaches this step.

<figure><img src="https://1642824329-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FX6uilbEAw42gqsudlclY%2Fuploads%2FN8xosT4SOqMlTLjMyPhR%2FScreenshot%202024-10-02%20at%2015.34.29.png?alt=media&amp;token=7daf6bc2-8bdb-4652-886a-16a0cc5056c6" alt="Fire Event configuration panel" width="563"><figcaption><p>Select the event and configure its attributes.</p></figcaption></figure>

### Step 3: Configure an event attribute

1. Select an event attribute in **Select Attribute**.
2. Select a value type.
3. Enter or select the **Value**.

Select an attribute only when its value is available or can be set. Each configured attribute becomes part of the event when the journey runs.

Use **Select Attribute** to choose the detail that belongs to the event. For a product-view event, this can include the product name, category, or price.

<table><thead><tr><th width="186.37890625">Value type</th><th>Effect</th></tr></thead><tbody><tr><td><strong>Variable</strong></td><td>Uses a journey variable.</td></tr><tr><td><strong>Fixed</strong></td><td>Uses a value you define.</td></tr></tbody></table>

For example, select `Product Name`, choose **Variable**, and select `ProductName`. The recorded event receives the product name available in the journey context.

Choose **Fixed** for a value that is always the same. Choose **Variable** when the journey or user profile provides the value.

For example, set a Fixed `Category` value to `Electronics` when this journey only handles that category. Use a Variable `Product Name` when each user views a different product.

### Step 4: Add more attributes

Select **Add More** to attach another attribute to the event. Repeat Step 3 for each attribute.

For example, add `Category` and `Price` alongside `Product Name`. One event records all configured values.

Add only attributes that describe the selected event. This keeps the event data meaningful when you use it for analysis or a later follow-up.

### Step 5: Save the action

Select **Save**.

The event triggers as users reach this step.

For example, a `Purchase` event can include the product category and price. Reporting and follow-up journeys can then use the recorded event data.

{% hint style="info" %}
Use **Update Profile** when you need to change a user profile field. Use **Fire Event** when you need to record an interaction or outcome.
{% endhint %}


---

# 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://user.netmera.com/netmera-user-guide/omnichannel-engagement/journey-orchestration/journey-components/action/fire-event.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.
