Skip to content
NEWMeet Alaaddin, your AI genie with a voice. trig8n launches 1 January 2027. See what is new

Library / Image, Video & Audio

Image, Video & Audio

Generate calming directions from short reflections with ImageHealAI webhooks

When an API call/webhook arrives, it creates or processes media.

What it does

## Turn short reflections into calming directions with ImageHealAI ### How it works This workflow receives a short reflection through a webhook, normalizes the submitted text, and validates that it is usable. Valid reflections are sent to ImageHealAI to generate a calming direction, then the workflow returns either the generated direction or an API error response. Invalid input is routed to a separate validation-error response branch. ### Setup steps - Configure the webhook URL and ensure the calling app sends the expected reflection field in the request body. - Set up the ImageHealAI HTTP request with the correct endpoint, authentication method, API key or headers, and request payload format. - Review the code nodes that normalize input and build responses so their field names match your client application's contract. - Ensure the webhook response mode is compatible with the Respond to Webhook nodes used for success and error replies. ### Customization You can adjust the input validation rules, the prompt or parameters sent to ImageHealAI, and the response payload structure for success, API-error, and validation-error cases.

The steps

  1. When Reflection Received
  2. Normalize Reflection Input
  3. Check Input Validity
  4. Post to ImageHealAI API
  5. Check API Response
  6. Build Success Response
  7. Return Success via Webhook
  8. Build API Error Response
  9. Return API Error via Webhook
  10. Build Validation Error Response
  11. Return Validation Error via Webhook

Similar automations