Overview
This node integrates with the Answer.dev system to create new questions. It is useful for automating the process of posting questions to a Q&A platform, enabling workflows that gather user input or data and publish it as questions without manual intervention. For example, you could use this node to automatically post customer support queries collected from a form or to submit technical questions generated by an internal tool.
Properties
Name | Meaning |
---|---|
Title | The title of the question to be created. |
Content | Detailed description content of the question. |
Tags | Comma-separated list of tags associated with the question (e.g., "tag1,tag2,tag3"). |
Additional Fields | A collection of optional fields: |
- Category ID | The category identifier under which the question should be classified. |
- Is Anonymous | Boolean flag indicating whether the question should be posted anonymously (true or false ). |
Output
The node outputs an array of JSON objects, each representing the response from the Answer.dev API after creating a question. Each object contains the details of the newly created question as returned by the API. There is no binary output.
Dependencies
- Requires an API key credential for authenticating with the Answer.dev API.
- The node makes HTTP POST requests to the
/api/v1/question
endpoint of the Answer.dev service. - The base domain URL for the API is taken from the configured credentials.
- Proper configuration of the API authentication credential in n8n is necessary.
Troubleshooting
- Common issues:
- Missing or invalid API credentials will cause authentication failures.
- Incorrectly formatted tags (e.g., missing commas) may result in unexpected tagging behavior.
- Providing empty required fields like Title or Content will likely cause the API to reject the request.
- Error messages:
- Errors thrown by the node include the message from the underlying API or network error.
- If the node is set to continue on failure, errors are returned as part of the output array with an
error
property.
- Resolutions:
- Ensure the API key credential is correctly set up and has proper permissions.
- Validate that all required fields are filled before execution.
- Format tags as comma-separated strings without trailing commas or extra spaces.
Links and References
- Answer.dev API Documentation (hypothetical link for reference)
- n8n HTTP Request Node documentation for understanding request options: https://docs.n8n.io/nodes/n8n-nodes-base.httpRequest/