Create Draft Flow Plan
curl --request POST \
--url https://gateway.firsttouch.ai/api/public/tools/create_flow_plan \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"flow": {
"root": "<unknown>",
"customVariables": [
{
"name": "<string>",
"label": "<string>"
}
],
"name": "<string>",
"options": {
"is_exclusion_check_required": true,
"use_hubspot_if_connected": true,
"is_click_tracking_enabled": true,
"is_open_tracking_enabled": true,
"is_enrich_phone_if_not_provided": true,
"push_call_tasks_only_if_phone_exists": true,
"ignore_personal_email_accounts": true,
"prompt": "<string>",
"is_push_to_hubspot_call_tasks": true,
"is_push_to_hubspot_manual_tasks": true,
"is_push_to_hubspot_approve_tasks": true,
"is_enrich_hubspot": true,
"is_enrich_prospects": true,
"is_enrich_companies": true,
"is_enrich_email_if_not_provided": true,
"only_enrich_phone_if_call_task_present": true,
"priority": 123
},
"aiQualification": {
"is_enabled": true,
"threshold": 123,
"prospect_criteria": "<string>",
"company_criteria": "<string>",
"disqualify_criteria": "<string>"
},
"candidates": [
{
"userId": "<string>",
"emailAccountIds": [
"<string>"
]
}
]
},
"processingStrategy": null,
"extendedResponse": false,
"awaitingLimit": 10
}
'import requests
url = "https://gateway.firsttouch.ai/api/public/tools/create_flow_plan"
payload = {
"flow": {
"root": "<unknown>",
"customVariables": [
{
"name": "<string>",
"label": "<string>"
}
],
"name": "<string>",
"options": {
"is_exclusion_check_required": True,
"use_hubspot_if_connected": True,
"is_click_tracking_enabled": True,
"is_open_tracking_enabled": True,
"is_enrich_phone_if_not_provided": True,
"push_call_tasks_only_if_phone_exists": True,
"ignore_personal_email_accounts": True,
"prompt": "<string>",
"is_push_to_hubspot_call_tasks": True,
"is_push_to_hubspot_manual_tasks": True,
"is_push_to_hubspot_approve_tasks": True,
"is_enrich_hubspot": True,
"is_enrich_prospects": True,
"is_enrich_companies": True,
"is_enrich_email_if_not_provided": True,
"only_enrich_phone_if_call_task_present": True,
"priority": 123
},
"aiQualification": {
"is_enabled": True,
"threshold": 123,
"prospect_criteria": "<string>",
"company_criteria": "<string>",
"disqualify_criteria": "<string>"
},
"candidates": [
{
"userId": "<string>",
"emailAccountIds": ["<string>"]
}
]
},
"processingStrategy": None,
"extendedResponse": False,
"awaitingLimit": 10
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
flow: {
root: '<unknown>',
customVariables: [{name: '<string>', label: '<string>'}],
name: '<string>',
options: {
is_exclusion_check_required: true,
use_hubspot_if_connected: true,
is_click_tracking_enabled: true,
is_open_tracking_enabled: true,
is_enrich_phone_if_not_provided: true,
push_call_tasks_only_if_phone_exists: true,
ignore_personal_email_accounts: true,
prompt: '<string>',
is_push_to_hubspot_call_tasks: true,
is_push_to_hubspot_manual_tasks: true,
is_push_to_hubspot_approve_tasks: true,
is_enrich_hubspot: true,
is_enrich_prospects: true,
is_enrich_companies: true,
is_enrich_email_if_not_provided: true,
only_enrich_phone_if_call_task_present: true,
priority: 123
},
aiQualification: {
is_enabled: true,
threshold: 123,
prospect_criteria: '<string>',
company_criteria: '<string>',
disqualify_criteria: '<string>'
},
candidates: [{userId: '<string>', emailAccountIds: ['<string>']}]
},
processingStrategy: null,
extendedResponse: false,
awaitingLimit: 10
})
};
fetch('https://gateway.firsttouch.ai/api/public/tools/create_flow_plan', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://gateway.firsttouch.ai/api/public/tools/create_flow_plan",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'flow' => [
'root' => '<unknown>',
'customVariables' => [
[
'name' => '<string>',
'label' => '<string>'
]
],
'name' => '<string>',
'options' => [
'is_exclusion_check_required' => true,
'use_hubspot_if_connected' => true,
'is_click_tracking_enabled' => true,
'is_open_tracking_enabled' => true,
'is_enrich_phone_if_not_provided' => true,
'push_call_tasks_only_if_phone_exists' => true,
'ignore_personal_email_accounts' => true,
'prompt' => '<string>',
'is_push_to_hubspot_call_tasks' => true,
'is_push_to_hubspot_manual_tasks' => true,
'is_push_to_hubspot_approve_tasks' => true,
'is_enrich_hubspot' => true,
'is_enrich_prospects' => true,
'is_enrich_companies' => true,
'is_enrich_email_if_not_provided' => true,
'only_enrich_phone_if_call_task_present' => true,
'priority' => 123
],
'aiQualification' => [
'is_enabled' => true,
'threshold' => 123,
'prospect_criteria' => '<string>',
'company_criteria' => '<string>',
'disqualify_criteria' => '<string>'
],
'candidates' => [
[
'userId' => '<string>',
'emailAccountIds' => [
'<string>'
]
]
]
],
'processingStrategy' => null,
'extendedResponse' => false,
'awaitingLimit' => 10
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://gateway.firsttouch.ai/api/public/tools/create_flow_plan"
payload := strings.NewReader("{\n \"flow\": {\n \"root\": \"<unknown>\",\n \"customVariables\": [\n {\n \"name\": \"<string>\",\n \"label\": \"<string>\"\n }\n ],\n \"name\": \"<string>\",\n \"options\": {\n \"is_exclusion_check_required\": true,\n \"use_hubspot_if_connected\": true,\n \"is_click_tracking_enabled\": true,\n \"is_open_tracking_enabled\": true,\n \"is_enrich_phone_if_not_provided\": true,\n \"push_call_tasks_only_if_phone_exists\": true,\n \"ignore_personal_email_accounts\": true,\n \"prompt\": \"<string>\",\n \"is_push_to_hubspot_call_tasks\": true,\n \"is_push_to_hubspot_manual_tasks\": true,\n \"is_push_to_hubspot_approve_tasks\": true,\n \"is_enrich_hubspot\": true,\n \"is_enrich_prospects\": true,\n \"is_enrich_companies\": true,\n \"is_enrich_email_if_not_provided\": true,\n \"only_enrich_phone_if_call_task_present\": true,\n \"priority\": 123\n },\n \"aiQualification\": {\n \"is_enabled\": true,\n \"threshold\": 123,\n \"prospect_criteria\": \"<string>\",\n \"company_criteria\": \"<string>\",\n \"disqualify_criteria\": \"<string>\"\n },\n \"candidates\": [\n {\n \"userId\": \"<string>\",\n \"emailAccountIds\": [\n \"<string>\"\n ]\n }\n ]\n },\n \"processingStrategy\": null,\n \"extendedResponse\": false,\n \"awaitingLimit\": 10\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://gateway.firsttouch.ai/api/public/tools/create_flow_plan")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"flow\": {\n \"root\": \"<unknown>\",\n \"customVariables\": [\n {\n \"name\": \"<string>\",\n \"label\": \"<string>\"\n }\n ],\n \"name\": \"<string>\",\n \"options\": {\n \"is_exclusion_check_required\": true,\n \"use_hubspot_if_connected\": true,\n \"is_click_tracking_enabled\": true,\n \"is_open_tracking_enabled\": true,\n \"is_enrich_phone_if_not_provided\": true,\n \"push_call_tasks_only_if_phone_exists\": true,\n \"ignore_personal_email_accounts\": true,\n \"prompt\": \"<string>\",\n \"is_push_to_hubspot_call_tasks\": true,\n \"is_push_to_hubspot_manual_tasks\": true,\n \"is_push_to_hubspot_approve_tasks\": true,\n \"is_enrich_hubspot\": true,\n \"is_enrich_prospects\": true,\n \"is_enrich_companies\": true,\n \"is_enrich_email_if_not_provided\": true,\n \"only_enrich_phone_if_call_task_present\": true,\n \"priority\": 123\n },\n \"aiQualification\": {\n \"is_enabled\": true,\n \"threshold\": 123,\n \"prospect_criteria\": \"<string>\",\n \"company_criteria\": \"<string>\",\n \"disqualify_criteria\": \"<string>\"\n },\n \"candidates\": [\n {\n \"userId\": \"<string>\",\n \"emailAccountIds\": [\n \"<string>\"\n ]\n }\n ]\n },\n \"processingStrategy\": null,\n \"extendedResponse\": false,\n \"awaitingLimit\": 10\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://gateway.firsttouch.ai/api/public/tools/create_flow_plan")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"flow\": {\n \"root\": \"<unknown>\",\n \"customVariables\": [\n {\n \"name\": \"<string>\",\n \"label\": \"<string>\"\n }\n ],\n \"name\": \"<string>\",\n \"options\": {\n \"is_exclusion_check_required\": true,\n \"use_hubspot_if_connected\": true,\n \"is_click_tracking_enabled\": true,\n \"is_open_tracking_enabled\": true,\n \"is_enrich_phone_if_not_provided\": true,\n \"push_call_tasks_only_if_phone_exists\": true,\n \"ignore_personal_email_accounts\": true,\n \"prompt\": \"<string>\",\n \"is_push_to_hubspot_call_tasks\": true,\n \"is_push_to_hubspot_manual_tasks\": true,\n \"is_push_to_hubspot_approve_tasks\": true,\n \"is_enrich_hubspot\": true,\n \"is_enrich_prospects\": true,\n \"is_enrich_companies\": true,\n \"is_enrich_email_if_not_provided\": true,\n \"only_enrich_phone_if_call_task_present\": true,\n \"priority\": 123\n },\n \"aiQualification\": {\n \"is_enabled\": true,\n \"threshold\": 123,\n \"prospect_criteria\": \"<string>\",\n \"company_criteria\": \"<string>\",\n \"disqualify_criteria\": \"<string>\"\n },\n \"candidates\": [\n {\n \"userId\": \"<string>\",\n \"emailAccountIds\": [\n \"<string>\"\n ]\n }\n ]\n },\n \"processingStrategy\": null,\n \"extendedResponse\": false,\n \"awaitingLimit\": 10\n}"
response = http.request(request)
puts response.read_body{
"error": "<string>",
"message": "<string>",
"traceId": "<string>",
"details": {
"currentStatus": "pending"
}
}{
"error": "<string>",
"message": "<string>",
"traceId": "<string>",
"details": {
"currentStatus": "pending"
}
}{
"error": "<string>",
"message": "<string>",
"traceId": "<string>",
"details": {
"currentStatus": "pending"
}
}{
"error": "<string>",
"message": "<string>",
"traceId": "<string>",
"details": {
"currentStatus": "pending"
}
}{
"error": "<string>",
"message": "<string>",
"traceId": "<string>",
"details": {
"currentStatus": "pending"
}
}{
"error": "<string>",
"message": "<string>",
"traceId": "<string>",
"details": {
"currentStatus": "pending"
}
}{
"error": "<string>",
"message": "<string>",
"traceId": "<string>",
"details": {
"currentStatus": "pending"
}
}{
"error": "<string>",
"message": "<string>",
"traceId": "<string>",
"details": {
"currentStatus": "pending"
}
}Flow Plans
Create Draft Flow Plan
Requires the admin team role or global admin access. Check get_current_user.toolAccess before calling.
Create a reusable Flow Plan draft to manage a group as one unit with common settings and action structure, including personalized messages.
Usage notes
- This tool only saves configuration; it does not attach an audience, publish, enroll contacts, or execute the configured steps.
- Use attach_audience_to_flow and manage_flow_publication as separate calls when authorized.
- Before choosing this tool or create_contact_sequence, read get_guide with topic=workflow_selection first.
- If a reusable Flow Plan is selected, read get_guide with topic=flow_plan_creation before calling this tool.
POST
/
api
/
public
/
tools
/
create_flow_plan
Create Draft Flow Plan
curl --request POST \
--url https://gateway.firsttouch.ai/api/public/tools/create_flow_plan \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"flow": {
"root": "<unknown>",
"customVariables": [
{
"name": "<string>",
"label": "<string>"
}
],
"name": "<string>",
"options": {
"is_exclusion_check_required": true,
"use_hubspot_if_connected": true,
"is_click_tracking_enabled": true,
"is_open_tracking_enabled": true,
"is_enrich_phone_if_not_provided": true,
"push_call_tasks_only_if_phone_exists": true,
"ignore_personal_email_accounts": true,
"prompt": "<string>",
"is_push_to_hubspot_call_tasks": true,
"is_push_to_hubspot_manual_tasks": true,
"is_push_to_hubspot_approve_tasks": true,
"is_enrich_hubspot": true,
"is_enrich_prospects": true,
"is_enrich_companies": true,
"is_enrich_email_if_not_provided": true,
"only_enrich_phone_if_call_task_present": true,
"priority": 123
},
"aiQualification": {
"is_enabled": true,
"threshold": 123,
"prospect_criteria": "<string>",
"company_criteria": "<string>",
"disqualify_criteria": "<string>"
},
"candidates": [
{
"userId": "<string>",
"emailAccountIds": [
"<string>"
]
}
]
},
"processingStrategy": null,
"extendedResponse": false,
"awaitingLimit": 10
}
'import requests
url = "https://gateway.firsttouch.ai/api/public/tools/create_flow_plan"
payload = {
"flow": {
"root": "<unknown>",
"customVariables": [
{
"name": "<string>",
"label": "<string>"
}
],
"name": "<string>",
"options": {
"is_exclusion_check_required": True,
"use_hubspot_if_connected": True,
"is_click_tracking_enabled": True,
"is_open_tracking_enabled": True,
"is_enrich_phone_if_not_provided": True,
"push_call_tasks_only_if_phone_exists": True,
"ignore_personal_email_accounts": True,
"prompt": "<string>",
"is_push_to_hubspot_call_tasks": True,
"is_push_to_hubspot_manual_tasks": True,
"is_push_to_hubspot_approve_tasks": True,
"is_enrich_hubspot": True,
"is_enrich_prospects": True,
"is_enrich_companies": True,
"is_enrich_email_if_not_provided": True,
"only_enrich_phone_if_call_task_present": True,
"priority": 123
},
"aiQualification": {
"is_enabled": True,
"threshold": 123,
"prospect_criteria": "<string>",
"company_criteria": "<string>",
"disqualify_criteria": "<string>"
},
"candidates": [
{
"userId": "<string>",
"emailAccountIds": ["<string>"]
}
]
},
"processingStrategy": None,
"extendedResponse": False,
"awaitingLimit": 10
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
flow: {
root: '<unknown>',
customVariables: [{name: '<string>', label: '<string>'}],
name: '<string>',
options: {
is_exclusion_check_required: true,
use_hubspot_if_connected: true,
is_click_tracking_enabled: true,
is_open_tracking_enabled: true,
is_enrich_phone_if_not_provided: true,
push_call_tasks_only_if_phone_exists: true,
ignore_personal_email_accounts: true,
prompt: '<string>',
is_push_to_hubspot_call_tasks: true,
is_push_to_hubspot_manual_tasks: true,
is_push_to_hubspot_approve_tasks: true,
is_enrich_hubspot: true,
is_enrich_prospects: true,
is_enrich_companies: true,
is_enrich_email_if_not_provided: true,
only_enrich_phone_if_call_task_present: true,
priority: 123
},
aiQualification: {
is_enabled: true,
threshold: 123,
prospect_criteria: '<string>',
company_criteria: '<string>',
disqualify_criteria: '<string>'
},
candidates: [{userId: '<string>', emailAccountIds: ['<string>']}]
},
processingStrategy: null,
extendedResponse: false,
awaitingLimit: 10
})
};
fetch('https://gateway.firsttouch.ai/api/public/tools/create_flow_plan', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://gateway.firsttouch.ai/api/public/tools/create_flow_plan",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'flow' => [
'root' => '<unknown>',
'customVariables' => [
[
'name' => '<string>',
'label' => '<string>'
]
],
'name' => '<string>',
'options' => [
'is_exclusion_check_required' => true,
'use_hubspot_if_connected' => true,
'is_click_tracking_enabled' => true,
'is_open_tracking_enabled' => true,
'is_enrich_phone_if_not_provided' => true,
'push_call_tasks_only_if_phone_exists' => true,
'ignore_personal_email_accounts' => true,
'prompt' => '<string>',
'is_push_to_hubspot_call_tasks' => true,
'is_push_to_hubspot_manual_tasks' => true,
'is_push_to_hubspot_approve_tasks' => true,
'is_enrich_hubspot' => true,
'is_enrich_prospects' => true,
'is_enrich_companies' => true,
'is_enrich_email_if_not_provided' => true,
'only_enrich_phone_if_call_task_present' => true,
'priority' => 123
],
'aiQualification' => [
'is_enabled' => true,
'threshold' => 123,
'prospect_criteria' => '<string>',
'company_criteria' => '<string>',
'disqualify_criteria' => '<string>'
],
'candidates' => [
[
'userId' => '<string>',
'emailAccountIds' => [
'<string>'
]
]
]
],
'processingStrategy' => null,
'extendedResponse' => false,
'awaitingLimit' => 10
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://gateway.firsttouch.ai/api/public/tools/create_flow_plan"
payload := strings.NewReader("{\n \"flow\": {\n \"root\": \"<unknown>\",\n \"customVariables\": [\n {\n \"name\": \"<string>\",\n \"label\": \"<string>\"\n }\n ],\n \"name\": \"<string>\",\n \"options\": {\n \"is_exclusion_check_required\": true,\n \"use_hubspot_if_connected\": true,\n \"is_click_tracking_enabled\": true,\n \"is_open_tracking_enabled\": true,\n \"is_enrich_phone_if_not_provided\": true,\n \"push_call_tasks_only_if_phone_exists\": true,\n \"ignore_personal_email_accounts\": true,\n \"prompt\": \"<string>\",\n \"is_push_to_hubspot_call_tasks\": true,\n \"is_push_to_hubspot_manual_tasks\": true,\n \"is_push_to_hubspot_approve_tasks\": true,\n \"is_enrich_hubspot\": true,\n \"is_enrich_prospects\": true,\n \"is_enrich_companies\": true,\n \"is_enrich_email_if_not_provided\": true,\n \"only_enrich_phone_if_call_task_present\": true,\n \"priority\": 123\n },\n \"aiQualification\": {\n \"is_enabled\": true,\n \"threshold\": 123,\n \"prospect_criteria\": \"<string>\",\n \"company_criteria\": \"<string>\",\n \"disqualify_criteria\": \"<string>\"\n },\n \"candidates\": [\n {\n \"userId\": \"<string>\",\n \"emailAccountIds\": [\n \"<string>\"\n ]\n }\n ]\n },\n \"processingStrategy\": null,\n \"extendedResponse\": false,\n \"awaitingLimit\": 10\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://gateway.firsttouch.ai/api/public/tools/create_flow_plan")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"flow\": {\n \"root\": \"<unknown>\",\n \"customVariables\": [\n {\n \"name\": \"<string>\",\n \"label\": \"<string>\"\n }\n ],\n \"name\": \"<string>\",\n \"options\": {\n \"is_exclusion_check_required\": true,\n \"use_hubspot_if_connected\": true,\n \"is_click_tracking_enabled\": true,\n \"is_open_tracking_enabled\": true,\n \"is_enrich_phone_if_not_provided\": true,\n \"push_call_tasks_only_if_phone_exists\": true,\n \"ignore_personal_email_accounts\": true,\n \"prompt\": \"<string>\",\n \"is_push_to_hubspot_call_tasks\": true,\n \"is_push_to_hubspot_manual_tasks\": true,\n \"is_push_to_hubspot_approve_tasks\": true,\n \"is_enrich_hubspot\": true,\n \"is_enrich_prospects\": true,\n \"is_enrich_companies\": true,\n \"is_enrich_email_if_not_provided\": true,\n \"only_enrich_phone_if_call_task_present\": true,\n \"priority\": 123\n },\n \"aiQualification\": {\n \"is_enabled\": true,\n \"threshold\": 123,\n \"prospect_criteria\": \"<string>\",\n \"company_criteria\": \"<string>\",\n \"disqualify_criteria\": \"<string>\"\n },\n \"candidates\": [\n {\n \"userId\": \"<string>\",\n \"emailAccountIds\": [\n \"<string>\"\n ]\n }\n ]\n },\n \"processingStrategy\": null,\n \"extendedResponse\": false,\n \"awaitingLimit\": 10\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://gateway.firsttouch.ai/api/public/tools/create_flow_plan")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"flow\": {\n \"root\": \"<unknown>\",\n \"customVariables\": [\n {\n \"name\": \"<string>\",\n \"label\": \"<string>\"\n }\n ],\n \"name\": \"<string>\",\n \"options\": {\n \"is_exclusion_check_required\": true,\n \"use_hubspot_if_connected\": true,\n \"is_click_tracking_enabled\": true,\n \"is_open_tracking_enabled\": true,\n \"is_enrich_phone_if_not_provided\": true,\n \"push_call_tasks_only_if_phone_exists\": true,\n \"ignore_personal_email_accounts\": true,\n \"prompt\": \"<string>\",\n \"is_push_to_hubspot_call_tasks\": true,\n \"is_push_to_hubspot_manual_tasks\": true,\n \"is_push_to_hubspot_approve_tasks\": true,\n \"is_enrich_hubspot\": true,\n \"is_enrich_prospects\": true,\n \"is_enrich_companies\": true,\n \"is_enrich_email_if_not_provided\": true,\n \"only_enrich_phone_if_call_task_present\": true,\n \"priority\": 123\n },\n \"aiQualification\": {\n \"is_enabled\": true,\n \"threshold\": 123,\n \"prospect_criteria\": \"<string>\",\n \"company_criteria\": \"<string>\",\n \"disqualify_criteria\": \"<string>\"\n },\n \"candidates\": [\n {\n \"userId\": \"<string>\",\n \"emailAccountIds\": [\n \"<string>\"\n ]\n }\n ]\n },\n \"processingStrategy\": null,\n \"extendedResponse\": false,\n \"awaitingLimit\": 10\n}"
response = http.request(request)
puts response.read_body{
"error": "<string>",
"message": "<string>",
"traceId": "<string>",
"details": {
"currentStatus": "pending"
}
}{
"error": "<string>",
"message": "<string>",
"traceId": "<string>",
"details": {
"currentStatus": "pending"
}
}{
"error": "<string>",
"message": "<string>",
"traceId": "<string>",
"details": {
"currentStatus": "pending"
}
}{
"error": "<string>",
"message": "<string>",
"traceId": "<string>",
"details": {
"currentStatus": "pending"
}
}{
"error": "<string>",
"message": "<string>",
"traceId": "<string>",
"details": {
"currentStatus": "pending"
}
}{
"error": "<string>",
"message": "<string>",
"traceId": "<string>",
"details": {
"currentStatus": "pending"
}
}{
"error": "<string>",
"message": "<string>",
"traceId": "<string>",
"details": {
"currentStatus": "pending"
}
}{
"error": "<string>",
"message": "<string>",
"traceId": "<string>",
"details": {
"currentStatus": "pending"
}
}Body
application/json
Optional enrollment processing mode saved with the draft for use after publication.
- This call does not enroll contacts or execute steps.
- Use manual for Manual Mode, where contacts/signals wait for explicit enrollment.
- Use default for standard Auto-Enrollment, or new_members_only only when the user explicitly asks for new source members only.
- All three modes support flow.customVariables; custom inputs do not require Manual mode.
Response
Tool result.