A Slack bot to play with Salesforce (made with Botkit).
TOKEN=<bot token> node . ./config.json
in ./config.json :
{
"version": "<version>",
"clientid": "<client id>",
"clientsecret": "<client secret>",
"username": "<email>",
"password": "<password>",
"securitytoken": "<security token>",
"environment": "<environment>"
}
The Salesforce user must be able to create or modify records in Contact object !
This bot uses JSforce library to perform actions in your sweet Salesforce.
Use this command to launch your bot eternally:
TOKEN=<bot token> nohup node . ./config.json >./bot.log 2>&1 &