ap_test_step
ap_test_stepTest a single step within a flow. Runs all steps up to and including the specified step. The flow must have a configured trigger. Pass triggerTestData when no sample data exists.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flowId | Yes | The ID of the flow containing the step. Use ap_list_flows to find it. | |
| stepName | Yes | The name of the step to test (e.g., "step_1"). Use ap_flow_structure to find it. | |
| displayName | No | Short approval prompt shown to the user (e.g. "Test Send Email step in Welcome Flow"). Must include what the action does and the target name. | |
| triggerTestData | No | Mock trigger output data. Saved as sample data before running the test. Useful when the trigger has no prior test data. |