Retrieve a record
GET {{airtable_url}}/{{record_id}}
Using the record_id
, we will retrieve all the details of the book which the user searched for.
Test script: Under the Tests tab, we will store the retrieved details as environment variables. If the book_status
is Available
, the next request to be executed will be set as Post to Slack (available)
using Qodex's setNextRequest()
method.
The Qodex.setNextRequest()
method accepts a request name or id within the same collection as a parameter. Use this method to establish a workflow sequence and designate which request in the same collection to run next, instead of defaulting to the linear execution. Read more about building workflows.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"id":"recQLSfQCcXjRuFwL","fields":{"Name":"The Girls","Author":["recArP0RBfHGKnUHP"],"Goodreads URL":"https://www.goodreads.com/book/show/26893819-the-girls","Status":"Available"},"createdTime":"2017-08-30T12:41:51.000Z"}