Executes a single node in-memory to test its logic and output. This is a critical endpoint for building and debugging workflows.
cURL
test_sns_trigger
curl --request POST \ --url https://v1.api.altostrat.io/workflows/test-node \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "node": { "id": "node_1", "data": { "componentId": "sns_trigger", "event_name": "user.created" } }, "context": { "event_payload": { "userId": "usr_123", "email": "test@example.com" }, "event_details": { "event_id": "evt_abc", "source_service\"": "auth-service" } }}'
{ "status": "success", "output": {} }
Enter the JWT token.
Node executed successfully.
The response is of type object.
object
Was this page helpful?