Aisello Respond
AI-generatedSummary
Send a processing result callback to Aisello for a specified post, using a callback URL and post ID, returning success status and optional generated content or publishing information.
Inputs
- Response Type (required) — Select the type of response to send back: text generation, image generation, or publish result.
- Callback URL (required) — URL to which the response payload will be POSTed. Usually obtained from prior trigger data.
- Post ID (required) — Identifier of the post to update, typically from prior workflow data.
- Caption — Generated caption or content for the post. Used when Response Type is 'Text Generation'.
- Title — Optional generated title for the post. Used when Response Type is 'Text Generation'.
- Image Prompt — Prompt describing the image generation. Used when Response Type is 'Image Generation'.
- Image Base64 — Base64-encoded image data to save as post media. Used when Response Type is 'Image Generation'.
- Platform — Social platform where the post was published. Used when Response Type is 'Publish'.
- External ID — Platform-specific post ID returned after publishing. Used when Response Type is 'Publish'.
- Success (required) — Boolean indicating whether the processing or publishing was successful.
- Error Message — Error description if the Success parameter is false.
- Webhook Secret — Optional secret sent in 'X-Webhook-Secret' header to authenticate the callback request.
Output shape
a list of items each containing the JSON response from the callback POST including the posted payload, callback URL, success flag, and response data
Each input item results in one output item with success status and details. If an error occurs, it throws unless "Continue On Fail" is enabled, in which case it outputs an error object for that item.
Examples
Example 1: Sending a text generation result
Response Type set to 'text_generation', with Caption and optional Title, Success true, valid Callback URL and Post ID provided via parameters or incoming data.
Example 2: Reporting image generation result
Response Type set to 'image_generation', with Image Prompt and Base64-encoded image data, Success flag, Callback URL, and Post ID specified.
Example 3: Reporting publishing outcome
Response Type set to 'publish', with Platform, External ID, Success flag, Callback URL, and Post ID specified.