Using status code to trigger tag

Is there a way to store the status code result from a firing tag? Subsequently, can we use that to trigger another tag?

Use-case: An internal system sends data directly to the sGTM container. I’m then using a modified version of the Impact Stape template, and I want to be able to react to a non-2XX status code (for example, use the slack-notification tag template to notify people of the error).

No, this cannot be done with the inbuilt GTM tools.
I think the only way is to customise the tag template and add logic there that if not 2XX status - send the hit to sgtm (yes, same place) and another tag will work based on this hit.

But it is much easier to monitor your case via Stape Monitoring: Monitoring feature from Stape

There you can do literally what you need. Based on response logs with a status other than 2xx on Impact you will be notified about it.