{"id":25553895,"url":"https://github.com/docusign/connect-node-worker-azure","last_synced_at":"2026-02-18T23:30:17.313Z","repository":{"id":40706078,"uuid":"190246910","full_name":"docusign/connect-node-worker-azure","owner":"docusign","description":"Connect listener example for Azure: a Node.js worker app","archived":false,"fork":false,"pushed_at":"2023-04-10T20:35:35.000Z","size":401,"stargazers_count":1,"open_issues_count":4,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-11T22:55:40.678Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/docusign.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-06-04T17:15:27.000Z","updated_at":"2023-02-09T02:57:35.000Z","dependencies_parsed_at":"2023-02-13T04:25:16.030Z","dependency_job_id":null,"html_url":"https://github.com/docusign/connect-node-worker-azure","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docusign%2Fconnect-node-worker-azure","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docusign%2Fconnect-node-worker-azure/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docusign%2Fconnect-node-worker-azure/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docusign%2Fconnect-node-worker-azure/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/docusign","download_url":"https://codeload.github.com/docusign/connect-node-worker-azure/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239833540,"owners_count":19704628,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-20T12:03:03.962Z","updated_at":"2026-02-18T23:30:17.235Z","avatar_url":"https://github.com/docusign.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Connect Node Worker for Azure\n\nThis is an example worker application for\nConnect webhook notification messages sent\nvia the \n[Azure Service Bus](https://azure.microsoft.com/en-us/services/service-bus/) \nplatform.\n\nThis application receives DocuSign Connect\nmessages from the queue and then processes them:\n\n1. If the envelope is complete, the application\n   uses a DocuSign JWT Grant token to retrieve\n   the envelope's combined set of documents,\n   and stores them in the `output` directory.\n\n   The envelope must include an Envelope Custom Field\n   named `Sales order.` The Sales order field is used\n   to name the output file.\n1. Optionally, this worker app can be configured to\n   also change the color of an \n   [LIFX](https://www.lifx.com/)\n   bulb (or set of bulbs)\n   to the color set in the envelope's \n   Custom Field `Light color`\n\n## Architecture\n![Connect listener architecture](docs/connect_listener_architecture.png)\n\nThis figure shows the solution's architecture. \nThis worker application is written in Node.js. \nBut it \ncould be written in a different language.\n\nAzure has SDK libraries for \n[Message Bus clients](https://docs.microsoft.com/en-us/azure/service-bus-messaging/)\nfor C#, Java, Node.js, Python, and Ruby. \n\n## Installation\n\n1. Install the example \n   [Connect listener for Azure](../connect-node-listener-azure) on Azure.\n   At the end of this step, you will have the\n   `Service Bus Connection String` and the \n   `Service Bus Queue Name`.\n\n1. Install the latest Long Term Support version of \n   Node v8.x or v10.x on your system, with the\n   npm package manager.\n\n1. Configure a DocuSign Integration Key for the application.\n   The application uses the OAuth JWT Grant flow.\n\n   If consent has not been granted to the application by\n   the user, then the application provides a url\n   that can be used to grant individual consent.\n\n   **To enable individual consent:** either\n   add the URL `https://www.docusign.com` as a redirect URI\n   for the Integration Key, or add a different URL and\n   update the `oAuthConsentRedirectURI` setting\n   in the ds_configuration.js file.\n\n1. Download this repo to a directory.\n\n1. In the directory:\n\n   `npm install`\n1. Configure `ds_configuration.js` or set the \n   environment variables as indicated in that file.\n\n1. Start the listener:\n\n   `npm start`\n\n## Testing\nConfigure a DocuSign Connect subscription to send notifications to\nthe Cloud Function. Create / complete a DocuSign envelope.\nThe envelope **must include an Envelope Custom Field named \"Sales order\".**\n\n* Check the Connect logs for feedback.\n* Check the console output of this app for log output.\n* Check the `output` directory to see if the envelope's\n  combined documents and CoC were downloaded.\n\n  By default, the documents will only be downloaded if\n  the envelope is complete and includes a \n  `Sales order` custom field.\n\n## Semi-automatic testing\nThe repo includes a `runTest.js` file. It conducts an\nend-to-end integration test of enqueuing and dequeuing\ntest messages. See the file for more information.\n\n## License and Pull Requests\n\n### License\nThis repository uses the MIT License. See the LICENSE file for more information.\n\n### Pull Requests\nPull requests are welcomed. Pull requests will only be considered if their content\nuses the MIT License.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdocusign%2Fconnect-node-worker-azure","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdocusign%2Fconnect-node-worker-azure","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdocusign%2Fconnect-node-worker-azure/lists"}