Kakiyo

Interact with the Kakiyo API

Overview

This node interacts with the Kakiyo API to create a new prompt resource. It allows users to define prompts that can be used with different AI models such as GPT-4, Claude 3, or GPT-3.5. The node is useful in scenarios where you want to programmatically manage AI prompts for campaigns, agents, or other automated workflows involving AI-generated messages or invitations.

Practical examples include:

  • Creating a custom message prompt for an outreach campaign using a specific AI model.
  • Defining invitation templates that use AI-generated content tailored by model type.
  • Automating prompt creation as part of a larger marketing or sales automation workflow.

Properties

Name Meaning
Name The name of the prompt being created.
Model The AI model to use for generating the prompt. Options: GPT-4, Claude 3, GPT-3.5
Type The type of prompt to create. Options: Message (a general message prompt), Invitation (an invitation prompt)

Output

The node outputs JSON data representing the newly created prompt object returned from the Kakiyo API. This typically includes details such as the prompt's ID, name, model, type, and any other metadata provided by the API response.

No binary data output is involved.

Dependencies

  • Requires an active connection to the Kakiyo API.
  • Requires an API key credential configured in n8n for authentication with the Kakiyo service.
  • The base URL for the API is taken from the credentials configuration.

Troubleshooting

  • Authentication errors: Ensure the API key credential is correctly set up and has the necessary permissions.
  • Validation errors: Missing required fields like "Name", "Model", or "Type" will cause the request to fail. Make sure all required properties are provided.
  • API connectivity issues: Verify network access to the Kakiyo API endpoint and correct base URL configuration.
  • Unexpected API responses: Check if the selected AI model is supported or if there are any restrictions on prompt types.

Links and References

Discussion