Hi @Michael Bessels,
One additional thing worth checking is whether the Terraform provider is resolving the Audio Connector by name during the publish process rather than by the underlying resource ID.
I've seen similar situations with Architect resources where the flow export looks identical, but during deployment Archy performs a validation lookup against the target org and fails if the referenced object cannot be resolved exactly as expected.
A few things I would verify:
Confirm that the Audio Connector Bot exists and is active in the same org where Terraform is publishing the flow.
Check for any differences in naming, including leading/trailing spaces, case sensitivity, or recent renames.
Review the exported YAML and verify whether the Audio Connector reference is stored as a display name instead of a stable ID.
Try exporting and re-importing a very simple test flow containing only a single "Call Audio Connector" action. If the issue reproduces there, it may indicate a provider/Archy limitation rather than a problem with the flow itself.
If the flow was exported from the same environment and fails without modifications, I would also suspect a provider bug or a gap in Audio Connector support within the Terraform/Archy workflow. It might be worth enabling DEBUG logging (TF_LOG=DEBUG) and reviewing the API calls made during the publish operation to see exactly which lookup is failing.
Interested to know whether the deployment succeeds if the "Call Audio Connector" action is temporarily removed from the flow. That could help isolate whether the issue is specific to Audio Connector resolution.
------------------------------
Cesar Padilla
INDRA COLOMBIA
------------------------------