Need guidance on updating the email account table for automatic OAuth token refresh via Slack integr

Sathwik1
Tera Expert

I’m currently working on setting up OAuth authentication with automatic token renewal using the scheduled job “Refresh Email Access Token.”

 

From my understanding, this scheduled job requires a corresponding record in the Email Account table in order to run successfully. Since we also have Slack integration in place, could someone please clarify what specific fields or details need to be populated in the Email Account table to ensure that access tokens are refreshed automatically?

 

Additionally, are there any extra steps, configuration requirements, or best practices I should be aware of to ensure this setup works reliably?

 

and also I here that, if we use OOB Spoke, then servicenow only updates it automatically.. here we are use OOB Spoke for slack.. so is it expected to work?

 

@Ankur Bawiskar 

2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

@Sathwik1 

please share some config screenshots etc

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

 

In Flow designer, We used slack OOB action, and provided connection and Oauth details.. so it automatically created records in the backend table (Oauth table), and grant type was set as "Authentication code" instead of credential type... so now I want to setup automatic renewal.. what are the steps I need to follow. @Ankur Bawiskar 

Sathwik1_1-1767172607133.png