Zapier with Visual Studio Team Services

Last Update: 4/28/2017

Use Zapier to connect Visual Studio Team Services to other apps for development, operations, customer connection, sales, marketing and more. Once you have your Zapier account, just create a zap to send messages between Visual Studio Team Services and those other apps.

Create a note when code is pushed

Create a zap that responds to an event from Visual Studio and triggers an action in another app. In this case, we create a note in OneNote when code is pushed to a Git repository in our Visual Studio Team Services account to show how that works.

  1. If you don't already have one, sign up for a Zapier account.

  2. Create a zap.

    Zapier dashboard, make a new zap button

  3. Pick the event in Visual Studio that you want to respond to, and then choose the app that you want to trigger and the action you want that app to take.

    Choose a triiger and action

  4. Connect to your Visual Studio Team Services account.

    Connect and test your Visual Studio Team Services account

  5. Connect to the app that will respond to the event.

    Connect to the action app account

  6. Authorize Zapier to access your account's resources.

    Allow access to the action app account

  7. You can filter the events coming from Visual Studio Team Services for this zap. For example, this zap will only act on code pushes in the master branch of the default repository for this team project. Pushes in other team projects, other repositories, or other branches of this repository will be ignored by this zap.

    Select the branch to trigger on for new code pushes

  8. Configure the response to the event in the other app.

    Configure the action app message

  9. Verify that the zap works.

    Verify that the zap works

  10. Name the zap and turn it on.

    Name the zap and turn it on

    Now the zap is set up, you'll get new notes in OneNote each time code is pushed in Visual Studio Team Services.

    Now the zap is set up

Pricing

Visual Studio Team Services doesn't charge for the framework for integrating with external services. Check out the specific service's site for pricing related to their services.

Q & A

Q: Can Visual Studio Team Services take actions based on events from other apps, too.

A: Yes, you can create a zap to post a message to a team room, queue a build, or add a link to a work item in Visual Studio Team Services. Just choose Visual Studio Team Services as the app that's taking the action instead of raising the event.

Choose Visual Studio Team Services as the action app

Q: Why can't I create a zap?

A: If you are not able to create a zap, make sure that:

  • Service hooks are enabled on the Visual Studio Team Services account you are trying to create the zap in.
  • You are a project administrator (or have the appropriate service hook management permissions) on the project.

Q: Why can't I connect to the Visual Studio Team Services service?

A: Verify that you are a project administrator for the Visual Studio Team Services project you are attempting to create zaps against.

Q: Can I programmatically create subscriptions?

A: Yes, see details here.

Q: Where can I get more information about Zapier?

A: At Zapier for Visual Studio Team Services.