Streamline Workflows with Custom Code HTTP Requests in Enrollio
We’re excited to introduce a new Custom Code action in Enrollio that now supports HTTP requests directly within your workflows. This feature enables you to write, execute, and test your code with integrated HTTP requests seamlessly in an isolated VM environment, making it easier to interact with external APIs and automate your processes.
What’s New with Custom Code HTTP Requests?
With the addition of HTTP request capabilities, you can now make various types of API calls directly within the code editor in Enrollio’s workflow automation. The supported methods include:
- GET Method: Retrieve data from a specified resource.
- POST Method: Send data to a server to create or update a resource.
- PUT Method: Update an existing resource with new data.
- PATCH Method: Make partial updates to an existing resource.
- DELETE Method: Remove a specified resource.
- HEAD Method: Retrieve header information from a server.
- OPTIONS Method: Get supported HTTP methods from a server.
How to Use the Custom Code HTTP Request Feature
Follow these steps to make HTTP requests in Enrollio’s code editor:
- Open the Code Editor: Start by navigating to the Custom Code action within your workflow.
- Click on the "HTTP Request" Button: Located above the code editor, click on the HTTP Request button to initiate the process.
- Select the HTTP Method: Choose from methods like GET, POST, PUT, PATCH, DELETE, HEAD, or OPTIONS depending on your requirement.
- Edit and Test Your Code: The selected HTTP request will populate at the bottom of the code editor. Write your code and test the request to ensure proper integration with your external services.
Benefits of Using HTTP Requests in Custom Code
-
Seamless API Integration: Directly interact with external APIs from within your workflow, enabling smoother and faster automation.
-
Enhanced Flexibility: Choose from multiple HTTP methods to fit your specific needs, whether it’s data retrieval, updates, or deletion.
-
Streamlined Workflow Automation: Simplify the process of making web requests by managing all interactions within the Enrollio platform, reducing the need for external tools.
With Enrollio’s Custom Code HTTP Request feature, integrating external APIs and automating tasks has never been more efficient. Use these versatile HTTP methods to connect with your data and streamline your digital workflows like a pro.
If you have any questions or need help setting up your HTTP requests, our support team is always here to assist!