I am attempting to use the Slack example found here Actions Triggers: post-user-registration for a post registration Action. However, when I use the exact code I get “Must use import to load ES Module” error from Node.JS. When I follow the error instructions and use import I get “Cannot use import statement outside a module”. So I fell back to using the new dynamic import method
await import('slack-notify') but that results in “no callback provided in dynamic import”. Has anyone seen this type of error? I triple checked my module and secrets configuration.
This is using Node16 for a post-registration Action.