How can I detect when a character enters a trigger box using Blueprints in UE5?

Depends if you want to make the trigger an Actor class to be able to place this actor in a level, or if you want to place a Box Collision (what you should be using for triggers) by itself and trigger logic through the Level Blueprint.
If you’re going to be using this trigger multiple times in your project, go with creating a Blueprint of class “Actor” (the default class), and there set a Box Collision as the root component.
If you’re going to be using this trigger once or very few times per level, go with the level blueprint, by placing needed box collision(s) in the level and adding code in the level blueprint.

In any case, in the blueprint, select your Box Collision component, and:
→ Make sure your Box Collision component has “Generate Overlap Events” on (Your player’s Capsule Collision should have it enabled too. Anything you want to be able to overlap this trigger will have to have “Generate Overlap Events” enabled and “Collision Enabled” (under “Collision Presets”) set to either “Collision Enabled (Query and Physics)” or “Query Only (No Physics Collision)”)
→ At the bottom of the details panel for it, find a green button which has text to the left saying “On Component Begin Overlap”. Click it. This will make a new event for you and open the Event Graph automatically. This event will now fire when anything with the correct settings (mentioned above) overlaps it, like the player. However, you need to check if what just overlapped it is actually a player. Do this:


And off of the “True” output from the Branch node goes all your required code. Hope this helps. Reply if you have any more questions!