Playground

Welcome! This tool makes it easy to learn and experiment with scripts, directly from your browser. Our API documentation integrates with this playground. Press the Try buttons or copy/paste snippets directly. All scripts run in Salesforce Flow:

 

 
Flow
Start
End

Capabilities

Benefits

How to use the playground

   Text {!var} Text {!secret_mdt}
   Text {!weather} Text {!$Flow.InterviewGuid}
   Date {!$Flow.CurrentDate} Datetime {!$Flow.InterviewStartTime}
   Record {!$Record} Record {!$Record__Prior}
   Number {!sales} Number {!costs}
   Number {!age} Number {!staff}

 

Examples

# Save a webhook
$Task = New-Task
$Task.Subject = 'Webhook'
$Task.Description = Json-Encode $Webhook
return $TaskTry
# Make HTTP callout
$Http = Http-Get 'icanhazip.com'
return $Http.bodyTry
# Date formats
$dt = {!$Flow.InterviewStartTime}
return $dt.format('dd/MM/yyyy h:mm a')Try

We hope you find the playground useful, and we sincerely welcome feedback: Contact Us »

 

Getting started with Streamscript
Install from the Salesforce AppExchange
Package install link: /packaging/installPackage.apexp?p0=04t7F000005N1wy