# SAMPLE

<figure><img src="https://lh7-us.googleusercontent.com/slidesz/AGV_vUcZwMZS7hMnKNVr49-euNuSRM5l2gGT9Ri0XjlDpNexFr4yPEpDfrg_FK1QXjNE46ikb8iw5FvqDcm_o4ubIvEvm3lUp7eeHRUH_vTpx2uio15APIXmSjNjuy5cxe-2cNwNIQmGmZLVvcCvLQLdfMCVOfMSRdrc=s2048?key=npIi8zOHIy81LrwrrhJT2w" alt=""><figcaption></figcaption></figure>

### SAMPLE’S DESCRIPTION

* In this setup, the **HTTP** block is used to query a virtual server. (<https://jsonplaceholder.typicode.com/posts/1>)
* This server responds with information in JSON format.

{

&#x20; "userId": 1,

&#x20; "id": 1,

&#x20; "title": "sunt aut facere repellat provident occaecati excepturi optio reprehenderit",

&#x20; "body": "quia et suscipit\nsuscipit recusandae consequuntur expedita et cum\nreprehenderit molestiae ut ut quas totam\nnostrum rerum est autem sunt rem eveniet architecto"

}

* From this response, we want to extract the "userId," "title," and "body" information using the **JSON Parser**.

* Next, to send the variable information from these fields via email, we create an **HTML** template and insert the relevant data into the **Mail** block using square brackets.

* User ID: \[\[userId]]

  Title: \[\[title]]

  Body: \[\[body]]

* Finally, the **Mail** block uses this HTML template to send the extracted information as an email. The email will include the parsed details from the JSON response.
