Are Smart Action routes required in v8?

:warning:This is a template you must use to report issues. :warning:
You can also drag images, videos and include Preformatted text.

Feature(s) impacted

Smart Actions are not behaving as expected.

Observed behavior

Without a route in the file, my smart action does not work. I was led to believe that creating routes happen automagically in version 8 so I’d rather not have to code them in if I can avoid it.

Expected behavior

Being on version 8, I was hoping the route would be handled automatically somehow.

Failure Logs

Without an entry in the routes file, my smart actions fail with a 404 not found.

Context

Please provide in this mandatory section, the relevant information about your configuration:

  • Project name: charitywater
  • Team name: Charity Water
  • Environment name: Development
  • Agent type & version: “forest-express-sequelize”: “^8.4.8”,
  • Recent changes made on your end if any: Upgraded to version 8.x

Hey @Erik_Kranzusch, and welcome to our community :wave:

I’m not sure to fully understand the problem, what do you mean by

I was led to believe that creating routes happen automagically in version 8 so I’d rather not have to code them in if I can avoid it.

The route code is still required in v8 since the it’s the express route that will contains the code you want to execute when triggering the smart action.
Could you eventually share a link or informations of what made you think that smart action routes weren’t required anymore?
Do you eventually have more details on what you mean by creating routes happen automagically?

Thanks in advance :pray: