3Dolphins
5.2 ID
5.2 ID
  • Get Started
  • Pre-Requisite
  • FAQ User
    • User Management
      • Apa yang Dilakukan Jika User Masih Memiliki Active Session?
      • Apa yang Harus Dilakukan Jika User Terkunci?
    • Ticket Management
      • Apa yang Harus Dilakukan Jika Tiket Tidak Masuk ke Tab Inbox?
    • Bot Settings
      • Apa yang Harus Dilakukan Jika Bot Tidak Ada Respon?
      • Apa yang Harus Dilakukan Jika Bot Tidak Merespons Seperti Yang Diharapkan?
    • Data Settings
      • Apa App Server, Web Server, dan Database yang Digunakan Oleh Chatbot 3Dolphins SRM?
      • Saat Chatbot Dijalankan di Linux. Proses Apa yang Running Untuk Menandakan Aplikasi Sedang Berjalan?
      • Jika Proses Mengalami Berhenti (fall) yang Tidak Normal. Apa yang Harus Dilakukan?
      • Bagaimana Cara Memantau 3rd-Party Service?
      • Tentang Performance Monitoring. Bisakah Dipantau dan Apakah Memiliki Dashboard?
      • Apa yang Perlu di-Backup?
      • Bagaimana Cara Backup Solr? Apakah Ada Menu dari Aplikasi Untuk Melakukan Backup?
      • Siklus Backup Apa yang Digunakan? Full atau Incremental?
      • Data Apa Saja yang Disimpan di Server?
      • Prosedur Data Housekeeping dan Technical Guideline. Apakah Ada Menu di Apps?
      • Cara Mengkonversi Field Milliseconds API Menjadi Format Date Apache Solr Menggunakan Microsoft Excel
  • Task Management
    • Task Management
      • Task Feature
      • Create Task
      • Edit Task
      • Detail Task Feature
  • Administration
    • User Privilege
      • User Role and Permission Level
      • Grant and Revoke Module Access
      • Create New Privilege
      • Remove Privilege
    • User Management
      • Group
      • Line of Business
      • User
      • Blocked
      • Active
      • Upload
      • Dual Control
      • Team Collaboration Chat
    • System Settings
      • Ticket Configuration
        • Number of Ticket History
        • Reply Signature
        • Enable Watermark on Attachment
        • Operator Allow Ticket Redistribute
        • Pop-Up Chat On Idle
        • Severity Required Before Closed
        • Auto Send Feedback
        • Claim Ticket Count
        • Enable Reopen Ticket
        • Enable Block Contact
        • Group Ticket Distribution
        • Traffic Minimal Turn
        • Last Agent Saved in Memory
        • Default Transfer Type
        • Default Sorting Mode
        • Enable Batch Close Ticket
        • Webchat Queue All Channel
        • Word Sensor on Live Agent Message
        • Ticket Claim Mode
        • Auto Greeting
        • Ask Feedback Message
        • Image URL Link and Font Color for Feedback Link
        • Feedback Appreciate Message
        • Number of Live Chat History
        • Walk in SLA Time (in Second)
        • Closure Types
      • User Configuration
      • Bot Configuration
      • Contact Configuration
      • Lead Configuration
      • Deal Configuration
      • Company Configuration
      • Custom Submenu Configuration
    • Data Settings
      • Create New Collection
        • Add Fields in Collection
        • Purge Data Collection
      • Remove Collection
      • Archive Collection
    • Public Holiday
      • Create New Holiday
      • Edit an Existing Public Holiday
      • Delete an Existing Public Holiday
    • Co-Browsing
      • Add Co-Browsing Menu
      • How to Use Co-Browsing
  • Integration
    • Channel Connector
      • Telegram Bot
        • Create Telegram Bot
        • Create New Telegram Bot Channel
        • Create New Rule
        • Attach Bot
        • Start Chat
      • Email Inbox
        • Create New Email Inbox Channel
        • How to Setup Email Outlook
        • Gmail Settings
        • Yahoo Settings
        • Create New Rule
        • Reply Email
        • Forward Email
      • Live Chat
        • Create New Live Chat Channel
        • How to Connect Client to Live Chat Channel
        • Create New Rule
        • Live Chat Message
        • Live Chat Capabilities
        • Memasukkan Live Chat pada Website / Mobile (Webview) Anda
          • Website
          • Mobile (Android Webview)
          • Mobile (IOS Webview)
        • Live Chat SDK React Native
        • Live Chat SDK Kotlin
        • Live Chat SDK Swift
      • Telegram Account
        • Create a New Telegram Account
        • Create a New Channel of Telegram Account
        • Create New Rule
        • Attach Bot
      • Twitter
        • Create Twitter Account
        • Twitter Developers
        • Create New Twitter Channel
        • Create New Rule
        • Result of Create New Twitter Channel
        • Best Practice Twitter
          • Customer
          • Agent (Operator) atau Supervisor
      • Facebook
        • Facebook Developers
        • Verify Your Bussiness
        • How to Create Facebook App
          • Change Additional Information About the App
          • How to Add Facebook Login Platform to Your Facebook App
          • Permission And Feature
        • Create New Page on Facebook
        • Create New Facebook Channel
        • How to Add Messenger Platform to Your Facebook App
        • How to Add Webhook Platform to Your Facebook App
        • Create New Rule
        • Mechanism for using BOT in Facebook Messenger
        • How to Add an Email from My Facebook Account
        • Best Practice Facebook
          • BOT
          • Customer
          • Agent (Operator) dan Supervisor
        • Facebook Gateway
      • WhatsApp Business API
        • How to Set Up Whatsapp Business
        • Create New Whatsapp Channel
        • Create New Rule
        • Result Create New Whatsapp Business Channel
      • Instagram Business
        • Facebook Developers
        • Verify Your Bussiness
        • How to Create Facebook App
          • Change Additional Information About the App
          • How to Add Facebook Login Platform to Your Facebook App
          • Permission And Feature
        • Create New Page on Facebook
        • Create New Instagram Business Account
        • Create New Instagram Business Channel
        • How to Add Webhook Platform to Your Facebook App
        • How to Add Instagram Platform to Your Facebook App
        • Create New Rule
        • Result of Create New Instagram Business Channel
        • Best Practice Instagram
        • Instagram Gateway
      • Line
        • Create New Line Official Account
        • Create Line Developer
        • Create New Line Account Channel
        • Create New Rule
        • Attach Bot
        • Result of Create New Line Account Channel
      • Skype
        • Create Bot With Microsoft Bot Framework and Microsoft Azure
        • Create New Skype Channel
        • Create New Skype Account
        • Create New Rule
        • Result of Create New Skype Channel
      • App Follow
        • Create a New Channel of App Follow
        • Create New Rule
        • How to Create New Ticket on App Follow
      • YouTube
        • Create New Channel on YouTube
        • Create YouTube API Credentials
        • Create New Channel of YouTube
        • Create New Rule
        • Result Create New Channel YouTube
      • Smartcall
        • Create New Smartcall Channel
        • Add Telephony Credentials
        • Create New Rule
        • Result of Create New Channel Smartcall
      • Webex
        • Create Webex Account
        • Create New Webex Bot
        • Create New Webex Channel
        • Create New Rule
        • Attach Bot
        • Result of Create New Channel Webex
    • Live Chat Designer
      • New Design
        • Style
        • Live Chat Connection
        • On Boarding Form
        • Livechat Label
        • Messaging Setting
        • Display Settings
        • Widget Settings
        • Member Mode
        • Queue
        • Error Message
        • Voice and Speech
        • Campaign
        • Service Hour
        • On Boarding Email Form
        • Input Validation
        • Generate Script
      • View Script Widget
      • Edit Widget
      • Remove Widget
    • Third-Party Integration
  • Employee
    • Operator Shift
      • Add New Shift
      • Edit Shift
      • Assign Operator Shift
      • Operator Shift Change Availability
      • Delete Shift
    • Shift Mapping
      • Upload Agent's Attendance
      • Edit an Existing Shift
      • Delete Shift
      • Filter Shift
    • Operator Target
      • Add Multiple Target
      • Add Operators Target (Independent Target)
    • Group KPI
      • Create New Group KPI Module
      • Add New Group KPI
        • Edit Group KPI
        • Filter Group KPI
        • Delete Group KPI
      • Filter and Search Group KPI Module
    • Announcement
      • Create New Announcement
      • Edit Announcement
      • Remove Announcement
  • Marketing
    • Public Post
      • Create New Public Post
        • Upload File
        • Schedule, Post, and Draft
      • Filter dan Search
    • Notification
      • Create Notification
        • Account & Recipients
        • Message
        • Send or Schedule
      • Filter and Search Notification
      • Edit and Delete Notification
      • Quality Rating Notification
    • Template
      • Request Template
        • Authentication Template
          • Code delivery
          • Message Content
        • Marketing & Utility Template
          • Header Template
          • Body Template
          • Footer Template
          • Buttons Template
      • Filter and Search Template
      • Delete Template
    • Audience
      • Create New Audience
      • Edit and Delete Existing Audience
      • Import Audience
      • Create New Audience Group
      • Edit and Delete Existing Audience Group
      • Search Feature
      • WhatsApp Validation
    • Maker Checker
      • Public Post Maker
      • Public Post Checker
      • Notification Maker
      • Notification Checker
  • Sales Activity
    • Lead
      • Create New Lead
      • Import Lead
      • Detail Lead
        • Contact Info
        • Company Info
        • Transfer Lead Ownership
        • Note
        • Task
      • Filter and Search Lead
      • Lead Automation
        • Automation Component
        • Create Automation
        • Duplicate and Delete Automation
      • Convert Lead to Deal or Archive Lead
      • Unarchive Lead
      • Delete Lead
    • Deal
      • Create New Deal
      • Detail Deal
        • Add Product on Deal
        • Contact Info
        • Company Info
        • Transfer Deal Ownership
        • Note
        • Task
        • Add On-Site Visit
        • Add Expenses
      • Transfer Deal to Another Pipeline
      • Pipeline
        • Add New Pipeline
        • Edit Pipeline
        • Delete Pipeline
      • Filter, Sort, and Search
      • Advanced Setting
      • Closed Deal to Won or Lost Deal
      • Delete Deal
    • Contact
      • Create New Contact
      • Detail Contact
        • Switch and Unlink Companies
        • Add Deal
        • Set Contact as VIP
        • Block and Unblock Contact
        • Merge Contact
        • Note
        • Task
      • Delete Contact
    • Company
      • Create New Company
      • Detail Company
      • Search Company and Configuration Table
      • Delete Company
    • Product
      • Create New Product
      • Detail Product
        • Open Deals
        • Stock and Restock Product
        • Transfer Product Ownership
        • Note
        • Filter and Search Product
      • Configuration Table
      • Delete Product
  • Customer Service
    • Kata Pengantar
    • Customer Support
      • Monitoring Dashboard Agent
      • Monitoring Dashboard Supervisor
      • Search in Dashboard
      • Change Status Agent
      • Reply Ticket
      • Send File or Attachment
        • Send File
        • Send Library
        • Send Form
        • Chat History
        • Send FAQ
        • Video Conference Call
      • Watermark
      • Ticket Activity
        • Add Customer Case
        • Add Task based on Ticket
        • Customer Identify
      • Ticket Priority
      • Ticket Notification
      • Filter Ticket
      • Team Member
      • Escalated Ticket
      • Transferred Ticket
      • Reassign Ticket
      • Takeover Ticket
      • Closed Ticket
      • Share Ticket Link
      • View Chat History
      • Merge and Unmerge Ticket
      • Merge Contact
      • Merge Contact Suggestion
      • Blocked Ticket
      • Reopen Ticket
      • Canned Message
      • How to Find FAQ
      • How to Export Ticket
      • How to Create Outbound Email
      • How to Create Offline Ticket
      • View Assignment Rule
      • How to Make WhatsApp Outbound Message
    • Customer Contact
      • Create New Contact
      • Download Contact
      • Edit Contact
      • Case Timeline
      • Ticket History
      • Merge Contact
      • Merge Contact Suggestion
      • Send Email Message
      • Block Contact
      • Remove Contact
    • Ticket Automation
      • Automation Component
      • Tag, Severity, Priority dan Process Flow
      • On Idle Trigger Ticket
      • Auto Greeting dengan Respon Berbasis Waktu
      • Bypass Distribusi Tiket untuk Pelanggan dengan Profil Tinggi
    • Agent Automation
      • Create New Agent Automation
      • Automation Component
      • On Aux Changes Trigger Agent
      • On Agent Idle Trigger
    • Rule Management
      • Add New Rule
        • Add Team Member
        • Add Rule Criteria
      • Configuration Rule
        • SLA Settings
        • Assignment
        • Service Hours
      • Clone Rule
      • Remove Rule
      • Filter Rule
      • Reload Rule
      • Traffic Distribution
        • Set Rule Ratio
        • Traffic Wallboard
      • Max Assignment
    • Unit Management
      • Create New Unit
      • Unit Transfer Ticket
      • Edit Existing Unit
      • Delete Existing Unit
    • Form Management
      • Form Records
        • Filter Form Records
        • Download Form Records
      • Form Builder
        • Create New Form Builder
          • Settings
          • Generate Link
        • Edit Form Builder
        • Remove Form Builder
    • Paragraph Classifier
      • Add New Classifier Module
      • Add New Classifier
      • Classifier Setting
      • Add Tags to Chat Ticket
      • Add Tags to Customer Contact
      • Edit Classifier
      • Remove Classifier
    • Email Template
      • New Email Template
      • Edit Email Template
      • Remove Email Template
      • Email Signature
      • Auto-Reply
    • Auxiliary Mapping
      • Create New Agent Status
      • Edit an Existing Agent Status
      • Remove Agent Status
    • Teaser Management
      • Create New Teaser
      • Active and Inactive Teaser
      • Preview Teaser
      • Edit Teaser
      • Delete Teaser
      • Search Teaser
  • Quality Assurance
    • Performance Rating
      • Add Appraisal Report
      • Upload Appraisal Report
      • Transfer Appraisal Report
      • Change Appraisal Report
      • Filter Ticket
    • Customer Feedback
    • Feedback Template
      • Create New Feedback Question
        • Agent Rating Survey
        • NPS Survey
      • Attach Feedback Template
      • Activate and Deactivate Feedback Template
      • Edit Feedback Template
      • Delete Feedback Template
    • Rating Criteria
      • Add New Template Criteria
      • Add Criteria
      • Active and Inactive Template
      • Duplicate Template Criteria
      • Delete Template Criteria
  • Bot Settings
    • Bot Manager
      • Create New Bot
        • Attach Dialog
        • Attach FAQ
        • Channel Deployment
        • Timeout Message
        • Unrecognized Setting
        • Fallback Message
        • 3Dolphins Think Integration
        • Bot Option Configuration
        • Bot Assistant
        • Bot Contextual
        • Bot Language
      • Bot Profile Settings
      • General Synonym
      • Evaluate Bot
        • Create Script Validation
        • Validate The Script
        • Upload Script Validation
        • Filter Script Validation
      • Automatic Detection Language
    • Process Flows
      • Component of Workflow
        • Webhook
        • Execute Command
        • HTTP Request
        • MVEL Function
        • Execute Workflow
        • Timer Interval
        • Send Message
        • Send Email
        • Show Growl
        • Connector Setting
      • Integration
      • List of Workflow
      • Edit Workflow
      • Remove Workflow
      • Workflow Log
    • Dialog Flows
      • Create New Dialog
        • Intention and Entity
        • Prompt Response
          • New Line & InLine
          • Quick Reply
          • Media
          • Catalog
          • WhatsApp Flows
        • Integration
        • Configuration
        • Build Dialog Model
        • Test the Dialog on Bot Emulator
      • Export Dialog Flows
      • Search and Filter Dialog
      • Switch Dialog
      • Bot Macro Commands
    • FAQ Knowledge
      • Create New FAQ Knowledge
      • Upload FAQ Knowledge
      • Export FAQ Knowledge
      • FAQ Knowledge Contextual
      • Edit Knowledge
      • Clone Knowledge
      • Remove Knowledge
      • Search Knowledge
      • Filter knowledge
      • Macro Knowledge
    • FAQ Suggestion
      • Mechanism of Using FAQ Suggestion
    • Digital Library
      • Create New Digital Library
        • Send Card
        • Send Option
        • Send Image
        • Send Document
        • Send Video
        • Send Audio
      • Edit Digital Library
      • Remove Digital Library
    • Page Builder
      • Add New Page
        • New Page Feature
      • Edit Page Builder
      • Generate Link Page
      • Download Raw Data of Page as JSON Format
      • Remove Page Builder
    • Payment Library
      • Add New Payment
      • Edit Payment Libarary
      • Delete Payment Library
    • Think Paragraph
      • Add Document (Article)
      • Edit Document (Article)
      • Ask Question Article
      • Delete Document (Article)
      • Think Paragraph Configuration
    • Maker Checker
      • Process Flow Maker
      • Process Flow Checker
  • Analytic
    • Live Agent
      • Conversation History
        • Filter Conversation History
        • Download Conversation History
      • Appraisal Report
        • Filter Appraisal Report
        • Download Appraisal Report
      • Channel Interaction
        • Filter Channel Interaction
        • Download Channel Interaction
      • Channel Group SLA
        • Filter Channel Group SLA
        • Download Channel Group SLA
      • Live Agent SLA
        • Filter Live Agent SLA
        • Download Live Agent SLA
      • Live Agent Performance
        • Filter Live Agent Performance
        • Download Live Agent Performance
      • Live Agent Productivity
        • Filter Live Agent Productivity
        • Download Live Agent Productivity
      • Live Agent Rating
        • Filter Live Agent Rating
        • Download Live Agent Rating
      • Customer Rating
        • Filter Customer Rating
        • Download Customer Rating
      • Visitors Volume
        • Filter Visitors Volume
        • Download Visitors Volume
      • Bot Visitor Volume
        • Filter Bot Visitor Volume
        • Download Bot Visitor Volume
      • Conversation Audit
        • Filter Conversation Audit
        • Download Conversation Audit
      • User Access Audit
        • Filter User Access Audit
        • Download User Access Audit
      • User AUX Audit
        • Filter User AUX Audit
        • Download User AUX Audit
      • Net Promotor Score
        • Filter Net Promotor Score
        • Download Net Promotor Score
      • Analytic Setting
      • Create New Service Analytics
    • Virtual Agent
      • Bot Overview
        • Intent Data
        • Intent Score
        • Download All Intents
        • Filter Bot Overview
      • Bot Engagement
        • Download Bot Engagement
        • Filter Bot Engagement
      • Business Service
        • Filter Business Service
      • Intents Fallback
        • Download Intents Fallback
        • Filter Intents Fallback
      • User Transaction
        • Filter User Transaction
      • Bot Satisfaction
        • Download Bot Satisfaction
    • Employee
      • Operator Target
        • Filter Operator Target
        • Download Operator Target
      • Group KPI Report
        • Filter Group KPI Report
        • Download Group KPI Report
      • Attendance Report
        • Filter Attendance Report
        • Download Attendance Report
      • Task Report
        • Filter Task Report
        • Download Task Report
    • Sales
      • Deal Progress
        • Filter Deal Progress
        • Download Deal Progress
      • Deal Conversion
        • Filter Deal Conversion
        • Download Deal Conversion
      • Deal Overdue
        • Filter Deal Overdue
        • Download Deal Overdue
      • Deal Won
        • Filter Deal Won
        • Download Deal Won
      • Deal Lost
        • Filter Deal Lost
        • Download Deal Lost
    • WhatsApp
      • Filter WhatsApp Usage
      • Download Whatsapp Usage
    • Wallboard
      • Wallboard Channel
      • Wallboard Agent
      • Wallboard Classifier
      • Wallboard Configuration
  • API
    • Service API
      • Ping API
      • Get Token
      • Auxilliary Mapping
      • Channel Connector API
      • Support Chart API
      • Contact API
      • File Upload Service
      • Form API
      • Location API
      • Marketing API
        • WhatsApp Broadcast
        • Line Broadcast
      • Profile API
      • Push Notification API
      • Report API
      • Ticket File Media API
      • Operator API
      • Ticket API
      • Supervisor API
      • Users API
      • Email Outbound API
      • Task API
    • Bot API
      • Get Token
      • Get Bot Response
      • Get Bot by Bot Id and Get list of Bots
      • Get Bot Deployment Channel by Bot Id
      • Get Bot FAQ Modules by Bot Id
      • Get Bot Dialogs by Bot Id
      • Post Bot Responses by Bot Id and User Message
      • NLP API
      • Think Paragraph API
    • Sales API
      • Get Token
      • Company API
      • Product API
      • Pipeline API
      • Deal API
      • Notes API
      • Lead API
  • SLA Guidelines
Powered by GitBook
On this page
  • HTTP Header
  • HTTP Body
  • HTTP Response

Was this helpful?

  1. Bot Settings
  2. Process Flows
  3. Component of Workflow

HTTP Request

PreviousExecute CommandNextMVEL Function

Last updated 2 years ago

Was this helpful?

Anda dapat mengirimkan request pada process flow untuk menyambungkannya pada API yang Anda gunakan atau mengintegrasikan dengan API third-party.

HTTP Header

Jika Anda memiliki request yang ingin Anda jalankan, Anda perlu mengetahui method, URL, serta value dan key opsional lainnya. Pilih HTTP Request pada daftar command kemudian akan ditampilkan sebagai gambar di bawah.

Penjelasan Komponen:

Nama
Deskripsi

Nama HTTP Request

node_id pada komponen workflow.

Method

Method dari HTTP Request mensupport GET, POST, PUT, DELETE, dan PATCH.

URL

API yang ingin Anda hit (link yang ingin Anda akses). URL bersifat dynamic, URL dapat menggunakan parameter, tergantung oleh variable yang akan ditampilkan.

Key

Nama variable (dapat menggunakan parameter yang tidak harus statis).

Value

Value dari variable (dapat menggunakan parameter yang tidak harus statis).

+ HTTP Header

Button untuk menambahkan header (key dan value).

Play

Untuk mengeksekusi node_id yang telah dibuat.

Add

Untuk menyimpan node_id padaworkflow.

A. Request Methods

Saat ini, terdapat 5 method yang dapat Anda gunakan untuk mengambil data dari API pada process flow, yaitu GET, POST, PUT, DELETE, and PATCH.

B. Setting Request URLs

Setiap request yang Anda kirim pada process flow membutuhkan URL yang merepresentasikan endpoint dari API yang Anda gunakan. Tiap operasi yang dapat Anda tampilkan menggunakan API biasanya terkait dengan endpointnya. Tiap endpoint dalam API tersedia pada particular URL, inilah yang Anda masukkan pada process flow untuk akses API.

Jika Anda membuat sebuah API, URL biasanya menjadi lokasi dasar dan pathnya. Sebagai contoh:

Deskripsi dari URL :

1. {URL} : Digunakan untuk meneruskan informasi ke destinasi.

2. {Path} : Lokasi data pada server.

Jika Anda menggunakan third-party API, provider API Anda akan menyediakan URL yang Anda butuhkan, sebagai contoh dalam dokumentasi developer mereka.

Anda dapat mengetikkan query parameter secara optional ke kolom URL. Kata apapun setelah tanda tanya (?) pada URL dianggap sebagai parameter yang dapat menyimpan values. Value untuk parameter yang sesuai diberikan setelah simbol "equals" (=). Beberapa parameter dapat dikirimkan melalui URL dengan memisahkannya dengan menambahkan "&". Sebagai contoh:

URL menyediakan variable dinamis yang dapat Anda gunakan pada request Anda. Tiap nama variable mewakili key, jadi mereferensikan nama variable mengijinkan Anda untuk mengakses valuenya. Nama variable biasanya diambil dari proses sebelumnya.

Perhatikan contoh workflow berikut ini.

Pada gambar diatas (Process Flow ‘Kurs Mata Uang’), kita ambil contoh dari proses ‘getKurs'. Proses ini untuk menyediakan respon feedback pada request yang dikirim.

${getEntity.response} variable ini berisi response dari proses ‘getEntity’. Atau, Anda dapat menambahkan ${getEntity.response} menggunakan response (output) dari proses ‘getEntity’, seperti pada gambar berikut ini.

Perhatikan contoh workflow berikut ini.

Pada gambar diatas (Add Gitlab Issue Workflow), kita ambil contoh dari proses ‘addGitlabIssue’. Proses ini adalah untuk menyediakan respon feedback dari request yang dikirim, respon ini ada pada form dari object 'title' dimana valuenya adalah ${response.title}. Variable ${response.title} ini berisi response title dari proses ‘transformIssue’.

Variable ${response.title} tidak akan bisa diproses pada 'getChatLink'. Karena, sebelum proses 'getChatLink' terdapat 2 proses yaitu 'addGitlabIssue' dan 'getToken', saat Anda memasukkan variable ${response.title} pada 'getChatLink', sistem akan bingung untuk menentukan title variable untuk ditampung, baik variabel yang akan ditampung merupakan response dari proses 'addGitlabIssue' ataupun response dari proses 'getToken'.

C. Setting Request Header

Beberapa API mengharuskan Anda untuk mengirim header tertentu bersama dengan request, biasanya untuk menyediakan metadata tambahan tentang operasi yang Anda tampilkan. Anda dapat mengaturnya di tabel Header. Masukkan pasangan key-value yang Anda butuhkan dan process flow akan mengirim mereka bersama dengan request Anda. Variable memungkinkan Anda untuk menyimpan dan menggunakan kembali value pada request Anda. Menggunakan variabel meningkatkan kemampuan Anda untuk bekerja secara efisien dan meminimalkan kemungkinan error.

Sebagai contoh, untuk menyertakan otorisasi pada request header, Anda dapat menentukan header pada request node id 'getToken', request ini berfungsi untuk mengambil variable token dari API yang terdapat dalam URL dan akan menampung variable sebagai response.

Untuk mendapatkan token dari aplikasi 3Dolphins, request body pada form 3Dolphins account harus diisi. Fungsi akun 3Dolphins ini sebagai autentikasi pada API Rest, jadi hanya user 3Dolphins yang dapat menggunakan API 3Dolphins.

Saat request dieksekusi, kemudian response akan diperoleh dari form dari akses token.

Pada gambar diatas (Gambar Add Gitlab Issue Workflow), kita ambil contoh dari proses 'getChatLink'. Proses ini menyediakan response feedback untuk request yang dikirim, response ini berada di form object 'Authorization' yang valuenya adalah ‘${getToken.response.token}’. Variable ‘${getToken.response.token}’ ini berisi token response dari proses 'getToken'.

HTTP Body

Tab ‘HTTP Body’ dalam process flow memungkinkan Anda menentukan data yang perlu Anda kirim dengan request. Anda dapat mengirim berbagai jenis data body untuk disesuaikan dengan API Anda.

Jika anda mengirim data body, pastikan Anda memiliki header yang sesuai untuk menunjukkan tipe konten API Anda mungkin butuh untuk memproses dan menerima data secara benar. Biasanya Anda akan menggunakan data body dengan request POST.

Pada gambar Add Gitlab Issue Workflow, kita ambil contoh dari proses 'getToken'. Untuk mendapatkan akses token membutuhkan request body seperti akun 3Dolphins. Akun 3Dolphins ini berfungsi sebagai autentikasi pada API Rest, jadi hanya user 3Dolphins yang dapat menggunakan API 3Dolphins.

HTTP Response

Setelah header dan detail request lainnya disiapkan, Anda dapat mengklik 'Play' untuk menjalankan request Anda dan memeriksa respons yang diterima dari server API. Jika request Anda tidak bekerja seperti yang diharapkan, periksa beberapa error.

Pada gambar Add Gitlab Issue Workflow diatas, kita ambil contoh dari proses 'addGitlabIssue', agar dapat menambahkan issue pada gitlab, kita butuh destinasi URL (server API) dan parameternya akan dikirim ke gitlab. Sebagai contoh pada proses 'addGitlabIssue', parameter yang akan dikirim adalah title, description, dan label. Saat proses 'addGitlabIssue' berjalan, anda akan mendapat response (response ini akan dikirim ke gitlab) seperti gambar dibawah ini.

HTTP Header
Process Flow 'Kurs Mata Uang'
Add Gitlab Issue Workflow
Add Gitlab Issue - HTTP Header
Get Token - HTTP Header
Get Token - HTTP Body
Get Token - HTTP Response
Get Chat Link - HTTP Header
Get Token - HTTP Body
Add Gitlab Issue - HTTP Response