Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
HallvardMM
New Member

Trigger Execute Fabric Item Notebook

Hi,

 

Is it possible to use the Reflex trigger to trigger a notebook that gets the values from the "Additional information" field?
If yes how would I write the Notebook to use the data sent from the trigger?
Are there any examples of this?

I want to do some manipulation before I use the notebook to trigger an HTTP request if the solution mentioned above does not work are there any ways to trigger an HTTP with the values from the "Additional information" field?

1 ACCEPTED SOLUTION
v-tangjie-msft
Community Support
Community Support

Hi @HallvardMM ,

 

Yes, you can trigger a Fabric notebook using a Reflex trigger. When conditions are met, the corresponding notebook is executed.
To achieve this, create a Reflex trigger that monitors your desired condition. In the "Act" card for the trigger, select "Fabric item" and choose the notebook you want to execute.

vtangjiemsft_0-1720752422256.pngvtangjiemsft_1-1720752435774.png

In your notebook, you can access the trigger data using the params object. For example:
```python
# Accessing parameters sent from the trigger
parameter_value = params.get("parameter_name")
```

 Replace `"parameter_name"` with the actual parameter name you want to retrieve.

 

For more details, please refer: Trigger Fabric items - Microsoft Fabric | Microsoft Learn

Develop, execute, and manage notebooks - Microsoft Fabric | Microsoft Learn

 

Best Regards,

Neeko Tang

If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly. 

View solution in original post

1 REPLY 1
v-tangjie-msft
Community Support
Community Support

Hi @HallvardMM ,

 

Yes, you can trigger a Fabric notebook using a Reflex trigger. When conditions are met, the corresponding notebook is executed.
To achieve this, create a Reflex trigger that monitors your desired condition. In the "Act" card for the trigger, select "Fabric item" and choose the notebook you want to execute.

vtangjiemsft_0-1720752422256.pngvtangjiemsft_1-1720752435774.png

In your notebook, you can access the trigger data using the params object. For example:
```python
# Accessing parameters sent from the trigger
parameter_value = params.get("parameter_name")
```

 Replace `"parameter_name"` with the actual parameter name you want to retrieve.

 

For more details, please refer: Trigger Fabric items - Microsoft Fabric | Microsoft Learn

Develop, execute, and manage notebooks - Microsoft Fabric | Microsoft Learn

 

Best Regards,

Neeko Tang

If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly. 

Helpful resources

Announcements
Sept Fabric Carousel

Fabric Monthly Update - September 2024

Check out the September 2024 Fabric update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors