Can You Update an Environment Variable from a Workflow in Pipedream?

This topic was automatically generated from Slack. You can find the original thread here.

Is it possible to update an environment variable from a workflow? (Use case: I want to update an auth token if it’s expired, so want to save the auth token value and expiration date). I don’t see anything in the docs that says you can’t, but not working in my testing. (Environment Variables)

And is there a preferred pattern for doing this?

Bing chat led me to $checkpoints, and the docs showed me that’s been replaced by Datastores, so that looks like the right pattern.

Using a datastore worked well.

Is this an integrated app that we have? pipedream.com/apps