When editing an existing workflow, a connection might appear as invalid if it has been deleted in the meantime.
To modify your connections, go to Settings and navigate to Dynatrace apps > Slack Connections.