# Webhook to teams

**URL:** <https://matillioncommunity.discourse.group/t/webhook-to-teams/1497>\
**Category:** Matillion ETL\
**Created:** [October 7, 2021, 11:09am UTC](https://matillioncommunity.discourse.group/t/webhook-to-teams/1497 "2021-10-07T11:09:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rka1621004583744](https://avatars.discourse-cdn.com/v4/letter/r/ac91a4/32.png) [@rka1621004583744](https://matillioncommunity.discourse.group/u/rka1621004583744)\
**Post date:** [October 7, 2021, 11:09am UTC](https://matillioncommunity.discourse.group/t/webhook-to-teams/1497/1 "2021-10-07T11:09:43Z")

</div>

Guess I'm doing something wrong, since I followed this example

&nbsp;

https://www.matillion.com/resources/blog/webhook-post-component-now-available-in-matillion-etl-release-1-48

&nbsp;

This is the webhook json code :

&nbsp;

{

"text": "\*\* {{pv\_jobname}} ble kjørt ferdig med følgende info:\*\* \n \n \n Status: {{pv\_status}} \n Tid: {{pv\_duration}}. "

}&nbsp;&nbsp;

&nbsp;

Exporting system data to job variables.

&nbsp;

 ![0694G00000GvZvvQAF_0D54G00007xmFfTSAU](https://us1.discourse-cdn.com/flex002/uploads/matillioncommunity/original/1X/3272b464aba930b5036e01360240704d7d28fb55.jpeg)

&nbsp;

Then get the variable values and put them in payload variables:

&nbsp;

 ![0694G00000GvZwFQAV_0D54G00007xmFfTSAU](https://us1.discourse-cdn.com/flex002/uploads/matillioncommunity/original/1X/1302d927af693730170314d74512cd64b2a0f7cb.jpeg)

&nbsp;

&nbsp;

This is the result:

&nbsp;

 ![0694G00000GvZwUQAV_0D54G00007xmFfTSAU](https://us1.discourse-cdn.com/flex002/uploads/matillioncommunity/original/1X/b42c0982ff511caa4a4846e21e455c468fed411e.jpeg)

&nbsp;

The job variables does not seem to get any values. Any tips to what I’m doing wrong?

&nbsp;

---

<div class="post-metadata">

**Author:** ![rka1621004583744](https://avatars.discourse-cdn.com/v4/letter/r/ac91a4/32.png) [@rka1621004583744](https://matillioncommunity.discourse.group/u/rka1621004583744)\
**Post date:** [October 7, 2021, 11:47am UTC](https://matillioncommunity.discourse.group/t/webhook-to-teams/1497/2 "2021-10-07T11:47:35Z")

</div>

Ok. So I removed all variables in the webhook task and put them up again, and added a $ to the varable name

&nbsp;

pv\_jobname, ${vcomponent}, pv\_status, ${vstatus}, pv\_duration, ${vduration}

&nbsp;

Instead of an error message: Missing values. It goes green. Well I fixed it myself.
