Basecamp icon

Basecamp

Interact with Basecamp API

Actions119

Question → Create a Question

AI-generated

Overview

This node operation creates a new question within a specified project and questionnaire in the Basecamp API. It is useful for automating the process of adding questions to questionnaires in project management workflows, such as gathering feedback or conducting surveys within a team or organization.

Use Case Examples

  1. Creating a question to be answered by a specific group of people in a project questionnaire.
  2. Scheduling a question to be presented at a certain time to targeted respondents.

Properties

Name Meaning
Project ID The ID of the project (bucket) where the question will be created. Used in the API endpoint path.
questionnaireId The ID of the questionnaire to which the question belongs. Used in the API endpoint path.
Content The text content of the question to be created. Supports HTML editing.
Schedule The schedule string indicating when the question should be presented.
Presenting Group (JSON) A JSON string representing an array of person IDs who will be asked to answer the question.
Return Full Response Boolean flag to determine whether to return the full API response (including status code and headers) or just the response body.
Request Options Additional request options such as batching, SSL certificate validation, proxy settings, and timeout configuration.

Output

JSON

  • id - The unique identifier of the created question.
  • content - The text content of the created question.
  • schedule - The schedule information for when the question is to be presented.
  • presenting_group_json - The JSON array of person IDs who are asked to answer the question.
  • statusCode - The HTTP status code of the API response (if full response is returned).
  • headers - The HTTP headers of the API response (if full response is returned).
  • body - The body of the API response containing the created question details.

Dependencies

  • Basecamp API
  • An OAuth2 API authentication token

Troubleshooting

  • Ensure that the Project ID and questionnaireId are valid and exist in the Basecamp account to avoid 404 errors.
  • Verify that the content of the question is not empty as it is required and will cause validation errors if missing.
  • If using the 'Return Full Response' option, be prepared to handle the full response structure including status code and headers.
  • Check network and proxy settings if requests fail due to connectivity issues or SSL certificate validation errors.

Links

Discussion