Webhooks walkthrough

This scenario creates a convenience store app so they can easily determine whether or not a customer is old enough to purchase alcohol. The cashier simply needs to post the name and birthdate of the customer AND a verified client token to a URL that’s been provided. Once entered, that will trigger our scenario to calculate the appropriate response and return it to the requestor.

An image using the switch module

Webhooks walkthrough

Workfront recommends watching the exercise walkthrough video before trying to recreate the exercise in your own environment.

Postman setup

To follow along with the walkthrough exercise, you need to download the free Postman application. Follow the steps below to navigate to the right area of Postman for the exercise.

  1. Create a workspace, then open it.
  2. Click on the New tab and create a new collection named Drinking Age.
  3. Click on the New tab again and create a new GET request named GET birthdate.
  4. Change the request action from GET to POST.
  5. Go to the Body subtab area below the POST URL field.
  6. Choose form-data below the Authorization subtab.
  7. Create three keys for Name, Birthdate, and clientToken.

An image using the switch module

Your turn

NOTE
Practice exercises and challenges are optional and are not necessary to complete Fusion training.

This practice exercise builds on what you learned in the walkthrough, but the solution is not provided.

Create a Workfront webhook that is waiting for new updates created and then logs the date, the name of the person who made the update, and what the update says. Email yourself this information.

Hint: Use the Workfront Watch Events trigger module to create your webhook. Also, in Workfront updates are called notes.

Challenge: Can you find and add the URL for where the update was made for easy access?

Want to learn more? We recommend the following:

Workfront Fusion documentation

recommendation-more-help
workfront-learn-help-main-toc