IAV-1273/feat(workflow): inject domain/gateway URL into embedded JSON nodes + fix Instagram refresh token + wizard cleanup
Summary
This MR bundles three independent improvements.
Workflow injectors — nested JSON support
Both WorkflowFreshdeskDomainInjector and WorkflowApiGatewayInjector previously only
processed root-level nodes. n8n tool-workflow nodes embed a full workflow JSON string
as a text field, so Freshdesk URLs and internal API gateway URLs inside those nested
nodes were left untouched after deployment.
Instagram integration — refresh token fix
Fixed an incorrect refresh token flow triggered during Instagram credential creation. The token was being refreshed at creation time instead of only when an existing token had expired, causing failures for new integrations.
Wizard service — cleanup
- Removed unused/dead helper methods from the wizard service layer.
- Improved existing wizard methods for clarity and reduced duplication.