Chat Command > Spreadsheet

Now how would I go about this?
I made a Form, now how do I make the bot connect to it and have it do what I want it to do?