How to trigger some in editor BP to run after importing a datasmith file

Hi,

After importing a Datasmith file into UE5.1.1, whilst in editor (not PIE) I would like to auto run some blueprint (either from my 1st person character, or in an editor utility widget) which will read a txt file (in a known location).
I already made a C++ class to handle reading the text file into a BP variable in editor.
I made a custom event callable in editor, which gives me a button to click.

I would just like to be able to streamline the workflow, so the user doesn’t have to remember to click this button in editor after an import.

I’ve been looking at ‘callbacks’ and ‘post events’ but not finding anything helpful.

Thanks for any push in the right direction! :slight_smile:

I found a part solution by not using the normal ‘Datasmith import’ from the pull down menu.
Instead I can just use the node: ‘Import Scene’

Only problem is I need to open a file browser now, to select the file.
Unfortunately I can’t hardcode the file path. :frowning:

Is a Windows file open browser blueprintable??

Thanks!