
pd.inputs["slack"]["$auth"]["oauth_access_token"] will contain your Slack account OAuth token.
With that token, you can make authenticated API calls to Slack:
Accessing connected account data with pd.inputs[appName]["$auth"]
In our Slack example above, we created a Slack WebClient using the Slack OAuth access token:
pd.inputs["slack"] come from? Good question. It was generated when we connected Slack to our Python step.