This is quick and easy way to access your organization data. Currently it supports GET method to access your org data. These days we all use chat windows like most popular Gtalk. So, there should be one tool which can easily plugged into our daily used GTalk and whenever we want to access our organization data , we can just click on our “salesforce bot GTalk contact” and fire a GET method. It will instantly provide the response. Isn’t it good!!!
Demo:
Here is a sample demo and steps you can try quickly. (The demo below using my developer org for your examples)
- Just add ‘salesforce@bot.im’ into your GTalk contacts.
- Accept ‘Yes’, if it ask
- Click on this ‘salesforce@bot.im’ simply like you click any contact to chat.
- Fire some queries like example given below
GET Account Id, Name, BillingState
GET Contact Id, Name, Email [Email like '*uog.com*']
GET Case Id, CaseNumber, Status [Status = 'Closed']
Isn’t It exiting :)
How to setup for your Organization
- Just get the code from here or Install package from here.
- Create a public site page pointing to ‘Bot’ page like this.
http://<your_org_public_site_add
http://myorg-developer-edition.ap1.force.com/Bot
- Now its time to create your bot.
- Got to imified.com
- Create an account and bot for yourself . Link
- Point the above public site url to your bot site address.
- You will get a new bot created something like this <your_name
>@bot.im
How to use Salesforce Bot:
Currently Salesforce Bot supports only GET method. Here is the syntax for it:
GET
Examples:
GET Account Id,Name,BillingState [Name like ‘*Uni*’ and BillingState = ‘CA’]
GET EmployeMatrix__c Id,Phone__c,Salary__c [Salary__c > 10000]
Future Salesforce Bot:
Currently Salesforce Bot supports only GET method. I am planning to extend it to support more methods like below:-
ADD
ADD Employee__c Set Name = 'John', Salary__c = 4000
UPDATE
UPDATE EmployeeMatrix__c Set Salary__c = 5000 [Name = ‘Mac’]
REMOVE
REMOVE EmployeeMatrix__c [Name = ‘Mac’]
SUM
SUM EmployeeMatrix__c Salary__c [Division = ‘Production’]
AVG
AVG Employee__c Salary__c [Account__c = ‘Emirates’]
MAX
MAX EmployeeMatrix__c Salary__c [Division = ‘Production’]
MIN
MIN EmployeeMatrix__c Salary__c [Division = ‘Production’]
COUNT
COUNT CASE [Status = ‘Open]
I am open to any new ideas :) …..
Dream Salesforce Bot:
Along with Future Salesforce Bot planning I have also planned for a ‘Dream Salesforce Bot’. It will provide many more general useful things from your organizations. Here are some:
1. SHOW Dashboard
2. CHART OpenOpportunity
3. EMAIL Case [Number=1111] #subject# #body#
4. RUN MACRO CloseCase [Number=1111]
5. I am open to any new ideas :) …..
Please provide your value able responses on this if you find it useful. For any further queries please contact me:-
Desclaimer:-
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
NOTE:- This software uses public site feature of salesforce in order to fetch data from the org.
Please ensure your org security concerns before using the Software.
Thanks
Aslam Bari
Its truely fantastic Sir...Innovative implementation
ReplyDeleteThanks
Marvelous work sir...... awesome.... Now its even more easy to work and chat together...
ReplyDeleteWow..!!! Now even a chat has become a query.. fantastic.. great work sir.. really innovative..
ReplyDeleteHello,
ReplyDeleteThanks for posting this great post about "Salesforce bot" I would like suggest the name of emailbot for email automation application.
Thanks