Sample code to show how to call a rest api inside an automation chain using book isbn as example.