# custom integration

**URL:** <https://community.hubspot.com/t/custom-integration/81751>\
**Category:** APIs & Integrations\
**Tags:** workflows\
**Created:** [May 23, 2023, 1:51am UTC](https://community.hubspot.com/t/custom-integration/81751 "2023-05-23T01:51:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![test120](https://avatars.discourse-cdn.com/v4/letter/t/a3d4f5/32.png) [@test120](https://community.hubspot.com/u/test120)\
**Post date:** [May 23, 2023, 1:51am UTC](https://community.hubspot.com/t/custom-integration/81751/1 "2023-05-23T01:51:39Z")

</div>

Hello,

I’m thinking of integrating the DocuSign feature by calling DocuSign API directly from the HubSpot as built-in DocuSign module doesn’t provide enough features.

And based on my investigation, it seems importing the “docusign-esign” library is not possible according to this page:

> **[Workflows | Custom Code Actions - HubSpot docs](https://developers.hubspot.com/docs/api-reference/legacy/automation/workflow-actions/custom-code-actions)**
>
> Instructions for using custom code actions in workflows

So my questions are like below:  
1. Are there any other ways that I can create the custom integration with DocuSign by using “docusign-esign” library?  
2. Is it possible to open the URL that I get from the Custom Code workflow? Please see the below code. As you can see in the code, I return the URL. In the next action, I want to open this URL. Are there any ways to achieve this?

exports.main = async (event, callback) =\> {  
const url = “[https://www.google.com](https://www.google.com)”  
return url  
}

Thanks!

---

<div class="post-metadata">

**Author:** ![LMeert](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/lmeert/32/103847_2.png) [@LMeert](https://community.hubspot.com/u/LMeert)\
**Post date:** [May 23, 2023, 7:35am UTC](https://community.hubspot.com/t/custom-integration/81751/2 "2023-05-23T07:35:53Z")

</div>

Hi @test120,

1/ You are right that you can’t use a library that is not from the list of supported libraries, however you could still use the requests library in python or axios in nodeJS to make your api requests to docusign.

You could also try to use the CRM development beta and use serverless functions to that extent but I’m pretty sure you won’t be able to import the docusign library either.  
Your last option would be to develop your own custom app and install it on your portal. This way the processes would run on your own server where you could use any library you’d like. However this takes longer to accomplish and has to be hosted by yourself.

2/ Can you give us more details about what you’re trying to achieve there ? You want to open the webpage but what for ? Scrapping content ?

Does not look like something you can do from a workflow as there’s no browser available from there and you can’t import libraries like selenium.

Hope this helps !  
If it does, please consider marking this answer as a solution 🙂

Ludwig
