Skyplatform
  • SKYPLATFORM TECHNICAL USER DOCUMENTATION
    • BASICS OF SKYPLATFORM
      • WHAT IS SKYPLATFORM?
      • SKYPLATFORM DASHBOARD
      • TEMPLATE AND PROJECT CREATION
        • Project Creation
      • PROJECT INFORMATION
      • ADD DEVICES AND GROUPS
        • Create Device
        • Create Group
      • DEVICE DETAILS
      • INTRODUCTION TO COMMISSIONING
        • Commissioning Screen Definitions
      • CREATING A NEW PROJECT
        • Installation of Add-On Cards
      • KNX ADD-ON PROGRAMMING
        • KNX SHUTTER PROGRAMMING SAMPLE
    • PLUGINS
      • DASHBOARD WIDGETS
        • SAMPLE
      • SECURITY
        • SAMPLE
      • BUILT IN PERIPHERALS
        • SAMPLE
      • DIAGNOSTIC
      • TEMPERATURE CONTROLLER
        • SAMPLE
      • UI OBJECTS
        • SAMPLE
      • DIALOGS
        • SAMPLE
      • SCHEDULE
        • SAMPLE
      • FUNCTIONS
        • SAMPLE
      • CONSTANT
        • SAMPLE
      • MATH
        • SAMPLE
      • STRING
        • SAMPLE
      • LOGIC
        • SAMPLE
      • INTERCOM
      • MEDIA
        • SAMPLE
      • CAMERAS
        • SAMPLE
      • WEB
        • SAMPLE
      • EXTERNAL APPs
      • SCRIPTS
        • SAMPLE
Powered by GitBook
On this page
  1. SKYPLATFORM TECHNICAL USER DOCUMENTATION
  2. PLUGINS
  3. WEB

SAMPLE

PreviousWEBNextEXTERNAL APPs

Last updated 8 months ago

SAMPLE’S DESCRIPTION

  • In this setup, the HTTP block is used to query a virtual server. ()

  • This server responds with information in JSON format.

{

"userId": 1,

"id": 1,

"title": "sunt aut facere repellat provident occaecati excepturi optio reprehenderit",

"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.

https://jsonplaceholder.typicode.com/posts/1