Tutorial 2: Using impersonation and Zapier
This tutorial enables you to add flexibility and power to your zap. By completing the setting up webhooks tutorial, you are able to send a payload to the callback URL containing just the item descriptor, and URN of the item. With that information, you are able to fetch more information leveraging the v3 API. To fetch more information, you will set up two more actions in Zapier:
- One to fetch a 2-legged token from Autodesk Platform Services.
- Two, by using impersonation, log into your Fusion Manage site as a specific user, and fetch data.
This powerful approach allows you to get information from the site impersonating another user, so all the permissions will be applied as if it was that user browsing the app. This gives you great flexibility in fetching the list of additional owners of an item, and notifying them dynamically that the item has been updated.
Prerequisites
- Complete the Setting up webhooks tutorial.
- Intermediate experience with Javascript.
- Basic knowledge of basic concepts of OAuth2.