Skip to content

Artifact Sesi 2 | Template untuk workflow pertama


📋 Workflow Spec

Name: Inquiry Handler v1
Pattern: Trigger → Format → Notify

[Webhook Trigger (POST)]


[Set Node: Format Data]


[Notification Node]

Node Details

1. Webhook Trigger

SettingValue
HTTP MethodPOST
Pathinquiry-form
Response Code200

2. Set Node (Edit Fields)

FieldValue
nama{{ $json.body.nama }}
email{{ $json.body.email }}
pesan{{ $json.body.pesan }}
timestamp{{ $now.format('DD/MM/YYYY HH:mm') }}
summaryInquiry dari \{{ $json.body.nama }}: \{{ $json.body.pesan }}

3. Notification Node (pilih salah satu)

Option A: Google Sheets

ColumnValue
Nama{{ $json.nama }}
Email{{ $json.email }}
Pesan{{ $json.pesan }}
Waktu{{ $json.timestamp }}

Option B: Email

FieldValue
Toyour-email@test.com
SubjectInquiry Baru - \{{ $json.nama }}
Body{{ $json.summary }}

Test Payload

json
{
  "nama": "Test User",
  "email": "test@email.com",
  "pesan": "Ini test inquiry dari workflow pertama"
}

Checklist

  • [ ] Webhook trigger menerima data
  • [ ] Set node memformat data dengan benar
  • [ ] Notification terkirim / data tersimpan
  • [ ] Workflow di-activate (jalan otomatis)

Bootcamp AI Automation — akala.id