---
title: PX4 Triggers
sidebar:
  order: 41
---
This section walks you through how to create a [trigger](/docs/learn/concepts#triggers-section) to automatically process PX4 ULog files.

Triggers allow you to run [actions](/docs/learn/concepts#actions-section) whenever new files are uploaded to your Roboto account.

## Enable existing trigger

During sign-up, you may have opted to automatically create a trigger in your account. If so, there's no need to create a new one—just ensure it's enabled.

1. Go to your account's triggers page: [Triggers](https://app.roboto.ai/triggers)
2. Look for a trigger named `px4_ulog_ingestion_trigger`. If it's there, ensure the toggle button is switched to enabled (green).

![PX4 Trigger Enabled](/docs/blume-assets/content/docs/_static/px4_trigger_enabled.png)

## Create a trigger

If your trigger list is empty or you don't have one set up for PX4 logs, you can easily create a new one.

1. Click the `+ Create` button on the [Triggers](https://app.roboto.ai/triggers) page.

![PX4 Create Trigger Button](/docs/blume-assets/content/docs/_static/px4_create_trigger_button.png)

2. Fill out the trigger creation form: give the trigger a name, leave *Trigger Type* on *Event-Driven* and *Trigger On* set to *File Uploaded*, then under *Action* select *Action Hub* to locate the `ulog_ingestion` action, and set `Required Inputs` to match your log file type, e.g. `**/*.ulg`. The optional *Invoke For Each* setting already defaults to `dataset_file`, so each uploaded log is processed individually.

![PX4 Create Trigger Form](/docs/blume-assets/content/docs/_static/px4_create_trigger_form.png)

3. Once the form is completed, click the `Create Trigger` button.

After creating the trigger, continue with the [Get Started](/docs/user-guides/working-with-px4-logs/get-started-px4) guide to begin working with PX4 ULog files.
