Skip to main content
afleury
Inspiring
February 28, 2025
5. Not Enough Info to Make Decision

Export to CURL Function for Moveworks Agentic Automation Engine/Creator Studio

Related products:Agent Studio
  • February 28, 2025
  • 2 replies
  • 38 views

Objective: To enhance the ease of testing and debugging by providing a feature that allows users to export their automation scripts to CURL commands. This feature aims to facilitate easy testing in Postman and other environments, enabling users to backup their work and re-test their code outside the Moveworks platform to eliminate development environment issues.

Key Features:

  1. Export to CURL Button:

    • Add a button labelled "Export to CURL" within the Agentic Automation Engine/Creator Studio interface.
    • The button should be easily accessible and prominently placed for quick use.
  2. Generate CURL Command:

    • Automatically generate a CURL command based on the current automation script or workflow.
    • Include all necessary headers, parameters, and payloads in the generated CURL command to ensure it replicates the exact request.
  3. Copy to Clipboard:

    • Provide an option to copy the generated CURL command to the clipboard with a single click.
    • Ensure the command is formatted correctly for easy pasting into Postman or other tools.
  4. Download as File:

    • Offer an option to download the generated CURL command as a text file for easy backup and sharing.
    • Include metadata such as the script name and timestamp in the file for better organization.
  5. Integration with Postman:

    • Provide guidance or a direct import option to easily import the CURL command into Postman.
    • Ensure compatibility with Postman's import functionality to streamline the testing process.

Benefits:

  • Ease of Testing: Allows users to quickly export their automation scripts to CURL commands for easy testing in Postman and other environments.
  • Backup and Sharing: Facilitates easy backup and sharing of automation scripts by providing downloadable CURL commands.
  • Eliminate Environment Issues: Enables users to re-test their code in different environments, helping to identify and eliminate development environment issues.
  • Improved Debugging: Provides a straightforward way to replicate and debug requests outside the Moveworks platform, enhancing the overall development workflow.

2 replies

Ajay Merchia
Community Manager
February 28, 2025

Hi ​@afleury, unfortunately, we can’t give you the cURL request over HTTP since that would require us to share the encrypted API key with you. That goes against security policies to share the API key with you.

Is there something you’re looking to do inside Postman that we can bring to the HTTP editor experience?

afleury
afleuryAuthor
Inspiring
March 5, 2025

If the API keys are removed from the export that’s totally fine. This is an environment elimination test to rule out if the Moveworks development environment is the issue. I’ve had a few head scratchers where jobs will work in Postman but in AAE I get different results. As a result, I now do all of my dev work in Postman, then import the cURL into Moveworks Creator Studio/AAE.

Some cool features I would love to see added from Postman is generative documentation, API script suggestions and testing but by far the biggest item would be a generate a bearer token button for me when creating new actions to test. Currently I have to go into Postman to generate the token then copy it over to Moveworks to test out the new action. Perhaps I’m missing something super easy in Moveworks AAE or the systems I’m dealing with are just a headache to integrate in general.