Skip to main content

Auto-generating JSON for Custom Activities

The Activity Designer enables you to create JSON UI definitions for custom activities easily. You can generate a basic JSON structure that automatically incorporates all identified parameters in Python, C#, or Visual Basic code. This feature simplifies the workflow, making it faster and more efficient to define custom activity configurations.

Using "Generate JSON"

To generate JSON:

  1. Navigate to the Activity Designer.
  2. Click + New Activity in the left panel.
  3. In the Create New window:
    • Insert a Name for the activity.
    • Select how to run the activity.
    • Select the Category.
    • Write a brief Description.
    • Click the Create button.
  4. In the Code tab, select your Language from the dropdown.
  5. Insert your code.
  6. Click the Generate JSON button in the top-right corner.
  7. Accept the Generate Json Warning dialog by clicking Ok.
  8. Toggle to the Json tab to view and edit the generated JSON.
  9. Save the custom activity.