Webhook parameters workbook_id same as flowID

I am trying to trigger my flow from a webhook (PHP/Curl). What I m reading is the fow is the id in the URL when editing your flow. I don’t see that in my URL I see a workbook_id not a flow_id where do I find my flow_id

thanks in advance

$apiKey = ‘YOUR_GUMLOOP_API_KEY’;
$flowId = ‘YOUR FLOW ID’; // Replace with your actual flow ID

// These match the form inputs from your interface node
$data = [
‘inputs’ => [

  ]

];

$ch = curl_init(“https://api.gumloop.com/v1/flows/$flowId/run”);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));
curl_setopt($ch, CURLOPT_HTTPHEADER, [
‘Content-Type: application/json’,
'Authorization: Bearer ’ . $apiKey
]);

$response = curl_exec($ch);

if(curl_errno($ch)) {
echo 'Error: ’ . curl_error($ch);
} else {
$responseData = json_decode($response, true);
echo "Flow run initiated. Run ID: " . $responseData[‘run_id’];
}

Hey @surferdave! If you’re reporting an issue with a flow or an error in a run, please include the run link and make sure it’s shareable so we can take a look.

  1. Find your run link on the history page. Format: https://www.gumloop.com/pipeline?run_id={{your_run_id}}&workbook_id={{workbook_id}}

  2. Make it shareable by clicking “Share” → ‘Anyone with the link can view’ in the top-left corner of the flow screen.
    GIF guide

  3. Provide details about the issue—more context helps us troubleshoot faster.

You can find your run history here: https://www.gumloop.com/history

Hey @surferdave - Where did you get this code from? Flow ID is basically saved_item_idhttps://docs.gumloop.com/api-reference/running-an-automation/start-automation

You can fetch that from the webhook panel on the canvas:

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.