Open tenfourty opened 9 years ago
Off the top of my head I'd be more inclined to have a structure like so:
Where command is list, follow, unfollow and so on. Arguably you should be able to do something like this as well
and then hubot will respond by asking me to enter it into slack and then commit it.
yes that makes sense Geir.
we could have:
What do you think?
@gsjurseth this hubot repository is quite interesting:
https://github.com/spajus/hubot-pubsub
Not sure we would use it but it's an interesting idea to have a pub/sub model.
sebot did SFDC searching for opps, the problem was it uses user's (my) context, so if there were opps I couldn't see, they did not appear. You either need to have chatbot auth to sfdc with an account that can see everything (i'm not sure i like that) .. or have users auth through the bot, which makes this a harder thing to solve by a fair bit.
Ah, very good point. The way I saw this being used was on a per room basis. That is, a room per opporutnity. That way the REP in question could, for example, do:
huboc ae login
That would reply (in a private message maybe?) with a link to login (via a proxy) and the bot would be waiting for that login (should probably timeout at some point). Then it just needs to keep the token cached in memory. If it expires then it could send another private message to the ae.
With that done maybe run this
hubot sfdc opp hm subscribe
So in theory I think we could make this work, but the login won't be any fun. Honestly, this is a ton of work to get this stupid login sorted..
We need a plugin/script for hubut that will get hubot to follow all opportunities for a particular sales person in a room.
Something like:
then every time any opportunities that Jeremy owns are updated the room(s) are updated with the changes.
We want to see all updates to all opportunities that a person owns.
To stop following a person just run:
this will unfollow Jeremy from all the rooms.
Steps to achieve this:
Other future stuff could include:
Resources:
on chatter and auto follow I found these links: