{"id":12493,"date":"2022-11-17T06:36:23","date_gmt":"2022-11-17T06:36:23","guid":{"rendered":"https:\/\/www.nimblework.com\/knowledge-base\/nimble\/?post_type=article&#038;p=12493"},"modified":"2024-04-17T09:54:35","modified_gmt":"2024-04-17T09:54:35","slug":"incoming-webhooks","status":"publish","type":"article","link":"https:\/\/www.nimblework.com\/knowledge-base\/nimble\/article\/incoming-webhooks\/","title":{"rendered":"Incoming Webhooks"},"content":{"rendered":"<h2><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-15936\" src=\"https:\/\/www.nimblework.com\/knowledge-base\/nimble\/wp-content\/uploads\/2022\/11\/Nimble-Webhooks.jpg\" alt=\"Webhooks\" width=\"2506\" height=\"472\" srcset=\"https:\/\/www.nimblework.com\/knowledge-base\/nimble\/wp-content\/uploads\/2022\/11\/Nimble-Webhooks.jpg 2506w, https:\/\/www.nimblework.com\/knowledge-base\/nimble\/wp-content\/uploads\/2022\/11\/Nimble-Webhooks-300x57.jpg 300w, https:\/\/www.nimblework.com\/knowledge-base\/nimble\/wp-content\/uploads\/2022\/11\/Nimble-Webhooks-1024x193.jpg 1024w, https:\/\/www.nimblework.com\/knowledge-base\/nimble\/wp-content\/uploads\/2022\/11\/Nimble-Webhooks-768x145.jpg 768w, https:\/\/www.nimblework.com\/knowledge-base\/nimble\/wp-content\/uploads\/2022\/11\/Nimble-Webhooks-1536x289.jpg 1536w, https:\/\/www.nimblework.com\/knowledge-base\/nimble\/wp-content\/uploads\/2022\/11\/Nimble-Webhooks-2048x386.jpg 2048w\" sizes=\"(max-width: 2506px) 100vw, 2506px\" \/><\/h2>\n<p>The incoming webhooks are used to receive messages from other tools into Nimble on certain events. When you create an incoming webhook, you get a unique URL and token that you can use in the webhook definition of the other tools to receive messages in Nimble on the provided URL. This, for example, will allow team members to see information about code changes in a Git repository and collaborate more effectively.<\/p>\n<p>Please note that only the enterprise creator and organization admin have access at the administration level, whereas only the project manager and team lead have access at the project level.<\/p>\n<h2>Navigation<a id=\"CreateWebhook\"><\/a><\/h2>\n<p>Navigate to the breadcrumb at the top and hover over the Project name, expand the\u00a0<strong>Setup<\/strong> module, and select <strong>Incoming Webhooks.<\/strong><\/p>\n<h2>Create Incoming Webhook<\/h2>\n<p>To add an Incoming Webhook, follow these steps:<\/p>\n<ol>\n<li>Click the <strong>GENERATE WEBHOOK<\/strong> section.<\/li>\n<li>Select a <strong>Category<\/strong> as &#8220;Version Control System&#8221; for the incoming webhook.<\/li>\n<li>Select the <strong>Tool<\/strong> where the code will be committed.<\/li>\n<li>Click the <strong>GENERATE<\/strong> button.<\/li>\n<li>The <strong>URL<\/strong> and <strong>Token<\/strong> will be auto-generated.\u00a0Copy the URL that is generated.<\/li>\n<\/ol>\n<p>The new incoming webhook will now be shown in the <strong>WEBHOOK LIST<\/strong> section.<\/p>\n<p><strong>Note:<\/strong> With a specific tool, only one URL can be generated for a project.<\/p>\n<p><a href=\"https:\/\/www.nimblework.com\/knowledge-base\/nimble\/wp-content\/uploads\/2022\/11\/Incoming-Webhooks.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-13488 alignnone\" src=\"https:\/\/www.nimblework.com\/knowledge-base\/nimble\/wp-content\/uploads\/2022\/11\/Incoming-Webhooks.jpg\" alt=\"\" width=\"430\" height=\"436\" srcset=\"https:\/\/www.nimblework.com\/knowledge-base\/nimble\/wp-content\/uploads\/2022\/11\/Incoming-Webhooks.jpg 632w, https:\/\/www.nimblework.com\/knowledge-base\/nimble\/wp-content\/uploads\/2022\/11\/Incoming-Webhooks-296x300.jpg 296w\" sizes=\"(max-width: 430px) 100vw, 430px\" \/><\/a><a id=\"PostMessage\"><\/a><a href=\"https:\/\/www.nimblework.com\/knowledge-base\/nimble\/wp-content\/uploads\/2022\/11\/Incoming-Webhooks.jpg\"><\/a><\/p>\n<h2>Post Message using Incoming Webhook URL<\/h2>\n<p>To make a request using an incoming webhook, you will need to follow these steps:<\/p>\n<ol>\n<li>Configure the new incoming webhook in GitHub.<br \/>\n<strong>Note:<\/strong> The URL that you&#8217;re making the POST request to should be the same URL you generated in the Nimble.<\/li>\n<li>Make a commit and push the file to the GitHub repository. GitHub will send data to the webhook URL when the commit is pushed.<\/li>\n<li>Mention the gateway for sending data from Jenkins to Nimble as &#8220;postbuildNimble&#8221; with a secret token and webhook URL in the .<em>groovy<\/em> file. (Optional)<\/li>\n<li>Now, you should be able to see the commit information being posted in the <strong>Git <\/strong>section or build results in the <strong>Jenkins <\/strong>section of your Nimble card after making a commit. Learn more about the Git and Jenkins sections, <a target=\"_blank\" href=\"https:\/\/www.nimblework.com\/knowledge-base\/nimble\/article\/understanding-git-jenkins-sections\/#Layouts\" rel=\"noopener\">here<\/a>.<\/li>\n<\/ol>\n<div class=\"helpful-block-content wth-theme-thumbs\" data-title=\"\" >\n<ul>\n<li><span class=\"wth-title\">Was this helpful?<\/span><\/li>\n<li><a data-post=\"12493\" data-post-url=\"https:\/\/www.nimblework.com\/knowledge-base\/nimble\/article\/incoming-webhooks\/\" data-post-title=\"Incoming Webhooks\" data-response=\"1\" href=\"#\" class=\"wth-green-btn icon-thumbsup\">Yes<\/a>&nbsp; &nbsp;<a data-response=\"0\" data-post=\"12493\" data-post-url=\"https:\/\/www.nimblework.com\/knowledge-base\/nimble\/article\/incoming-webhooks\/\" data-post-title=\"Incoming Webhooks\" href=\"#\" class=\"wth-red-btn icon-thumbsdown\">No<\/a><\/li>\n<\/ul>\n<\/div>","protected":false},"author":1,"featured_media":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","multi-rating":{"mr_rating_results":[]},"_links":{"self":[{"href":"https:\/\/www.nimblework.com\/knowledge-base\/nimble\/wp-json\/wp\/v2\/article\/12493"}],"collection":[{"href":"https:\/\/www.nimblework.com\/knowledge-base\/nimble\/wp-json\/wp\/v2\/article"}],"about":[{"href":"https:\/\/www.nimblework.com\/knowledge-base\/nimble\/wp-json\/wp\/v2\/types\/article"}],"author":[{"embeddable":true,"href":"https:\/\/www.nimblework.com\/knowledge-base\/nimble\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nimblework.com\/knowledge-base\/nimble\/wp-json\/wp\/v2\/comments?post=12493"}],"version-history":[{"count":42,"href":"https:\/\/www.nimblework.com\/knowledge-base\/nimble\/wp-json\/wp\/v2\/article\/12493\/revisions"}],"predecessor-version":[{"id":16733,"href":"https:\/\/www.nimblework.com\/knowledge-base\/nimble\/wp-json\/wp\/v2\/article\/12493\/revisions\/16733"}],"wp:attachment":[{"href":"https:\/\/www.nimblework.com\/knowledge-base\/nimble\/wp-json\/wp\/v2\/media?parent=12493"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}