Resource Guru icon

Resource Guru

Get and Set information in Resource Guru

Actions6

Overview

This node integrates with the Resource Guru API to manage projects and clients. Specifically, for the Project - Archive operation, it allows users to archive a project by marking it as archived in Resource Guru. Archiving a project typically means it is no longer active or visible in regular listings but retained for historical reference.

Common scenarios where this node is beneficial include:

  • Automating project lifecycle management by archiving completed or cancelled projects.
  • Keeping project lists clean by hiding inactive projects without deleting them.
  • Integrating with workflows that require toggling project visibility based on status changes.

Example use case: After a project is marked complete in your system, you can automatically archive it in Resource Guru to prevent further bookings or allocations against it.

Properties

Name Meaning
Project ID The unique identifier of the project to archive. This is required to specify which project to archive.

Output

The node outputs JSON data representing the updated project resource after the archive operation. This typically includes the project details with an archived flag set to true, indicating the project is now archived.

No binary data output is involved in this operation.

Dependencies

  • Requires an OAuth2 API credential for authenticating with the Resource Guru API.
  • Needs the account ID from the credentials to construct the base URL for API requests.
  • The node sends a PUT request to the /projects/{projectId} endpoint with { archived: true } in the request body.

Troubleshooting

  • Invalid Project ID: If the provided Project ID does not exist or is incorrect, the API will likely return a 404 error. Verify the Project ID before running the node.
  • Authentication Errors: Missing or invalid OAuth2 credentials will cause authentication failures. Ensure valid credentials are configured.
  • Permission Issues: The authenticated user must have permission to modify projects; otherwise, the API may return a 403 Forbidden error.
  • Network or API Downtime: Temporary connectivity issues or API outages can cause request failures. Retry after some time or check Resource Guru's status page.

Links and References

  • Resource Guru API Documentation (for detailed API endpoints and parameters)
  • n8n OAuth2 Credential Setup Guide (refer to n8n documentation for configuring OAuth2 credentials)

Discussion