Hi,
You can add a number of next steps to your automation, where you can use result of all previous actions. If your action was script step, you can pass some data to output using 'output.set'. Objects and arrays should be converted to string.
If you are sure it must be separate automation, you can build it with Webhook trigger and make previous automation call it with some data in 'body', it needs a bit scripting