This bot is what controls the @Points-Thing bot on the sndevs.com workspace.
On the SNDevs workspace, we like to give kudos to each other! Especially when someone has been particularly helpful (answered a ServiceNow question, helped review a code snippet, or simply pointed to the right documentation) or even when someone provided a much needed laugh (a funny joke, a well-timed meme, or simple relatable musings).
To give those kudos, we made the Points-Thing bot! Simply @ mention someone and put ++ right after to give them a point.
@AbelTuter ++
And the bot keeps track (via a ServiceNow instance) of how helpful that person has been. Now user can quickly see who in the community has been a great contributor. And contributors have a way to show credibility in their responses.
The bot evolved from there and functionality has been added onto it ever since it was created in 2017.
🔔🔔🔔
CONTRIBUTORS must follow all guidelines in CONTRIBUTING.md or run the risk of having your Pull Requests labeled as spam.
🔔🔔🔔
System Applications
=> Studio
Import From Source Control
main
branchAn accepted Pull Request and merge does not necessarily mean the functionality will go live immediately, as an admin for the host instance will need to pull the application into ServiceNow.
Features
> Event Subscriptions
Request URL
with: https://YOURDEVINSTANCE.service-now.com/api/x_snc_pointsthing/points_thing
When you tab out of the field, make sure the URL is "Verified" before you proceed.
Settings
> Install App
Install to Workspace
buttonview
and do
permissionsAllow
buttonBot User OAuth Token
for the ServiceNow system property configuration laterFeatures
> Event Subscriptions
Enable Events
Request URL
with: https://YOURDEVINSTANCE.service-now.com/api/x_snc_pointsthing/points_thing
When you tab out of the field, make sure the URL is "Verified" before you proceed.
Subscribe to bot events
sectionAdd bot User Event
buttonmessage.channels
message.groups
Save Changes
buttonFeatures
> OAuth & Permissions
Bot Token Scopes
Add an OAuth Scope
buttonchat:write
Settings
> Install App
Install to Workspace
buttonview
and do
permissionsAllow
buttonBot User OAuth Token
for the ServiceNow system property configuration later@Earl Duque ++
x_snc_pointsthing_payload
table to make sure SN is receiving messages