i've ended up using api.cache.set with a short ttl.
i can access it between actions of the same trigger and it's scoped to the trigger it was set in.