# Unable to Trigger an Advanced Flow via HomeyScript - Missing Parameter: id

**URL:** <https://community.homey.app/t/unable-to-trigger-an-advanced-flow-via-homeyscript-missing-parameter-id/132782>\
**Category:** Questions & Help\
**Tags:** flow, homey-pro, advancedflow\
**Created:** [March 15, 2025, 1:51pm UTC](https://community.homey.app/t/unable-to-trigger-an-advanced-flow-via-homeyscript-missing-parameter-id/132782 "2025-03-15T13:51:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andrea\_Boletti](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/andrea_boletti/32/113997_2.png) [@Andrea\_Boletti](https://community.homey.app/u/Andrea_Boletti)\
**Post date:** [March 15, 2025, 1:51pm UTC](https://community.homey.app/t/unable-to-trigger-an-advanced-flow-via-homeyscript-missing-parameter-id/132782/1 "2025-03-15T13:51:52Z")

</div>

Hi everyone,

I’m trying to trigger an advanced flow in Homey via HomeyScript. The advanced flow works correctly when triggered manually, and I’ve confirmed the `id` and `uri` using `Homey.flow.getAdvancedFlows()`.

Here’s what I’ve tried so far:

1. Using `Homey.flow.triggerFlow({ id: '82b81c9d-7896-45c7-bf0e-15067f634a19' });`
2. Using `Homey.flow.triggerFlow({ uri: 'homey:advancedflow:82b81c9d-7896-45c7-bf0e-15067f634a19' });`
3. Trying `Homey.flow.runAdvancedFlow({ uri: 'homey:advancedflow:82b81c9d-7896-45c7-bf0e-15067f634a19' });`

Every attempt results in an error:

- **“Not Found: Flow with ID [ID]”**
- **“Missing Parameter: id”**

Output from `Homey.flow.getAdvancedFlows()` confirms the flow exists, is enabled, and is triggerable.

Has anyone successfully triggered an advanced flow via HomeyScript? Is there a specific API or parameter required to make this work?

Thanks for your help!  
Andrea

---

<div class="post-metadata">

**Author:** ![JPe4619](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jpe4619/32/9017_2.png) [@JPe4619](https://community.homey.app/u/JPe4619)\
**Post date:** [March 16, 2025, 4:56pm UTC](https://community.homey.app/t/unable-to-trigger-an-advanced-flow-via-homeyscript-missing-parameter-id/132782/2 "2025-03-16T16:56:23Z")

</div>

Does your flow have a Start icon (triangle) ??
