automation

Run an automation flow test

Changed on

Run a flow once against a sample event and return the resulting execution. Steps that send a message really send it, so a test returns 503 while messaging sending is temporarily disabled.

post/api/v1/automations/{id}/test

Request

  • Base URL
    https://api.bundle.social
  • URL
    https://api.bundle.social/api/v1/automations/{id}/test
  • Auth
    API key in header x-api-key

Path parameters

idstring required

Request body

Response

200

idstring required
teamIdstring required
organizationIdstring nullable
flowIdstring required
flowVersionIdstring required
triggerIdstring nullable
platform'INSTAGRAM' | 'FACEBOOK' | 'TIKTOK' required
socialAccountIdstring required
conversationIdstring nullable
conversationMessageIdstring nullable
fetchedCommentIdstring nullable
senderExternalIdstring nullable
currentStepIdstring nullable
status'QUEUED' | 'RUNNING' | 'COMPLETED' | 'FAILED' | 'CANCELED' | 'SKIPPED' required
idempotencyKeystring required
outputobject
startedAtstring date-time nullable
completedAtstring date-time nullable
createdAtstring date-time nullable required
updatedAtstring date-time nullable required

Changes