Skip to content

Google Cloud Storage

Fetches content from files connected through the Carbon Google Cloud Storage integration. Given selected Carbon file IDs, it queries the Carbon service and returns a single concatenated text output. Each file’s content is wrapped with a simple tag for easy downstream parsing.
Preview

Usage

Use this node after users have connected their GCS content via the Carbon connection flow and selected files. Provide the Carbon file IDs (produced by the file picker/connector UI) to retrieve the file contents as a single text block for further processing in your workflow (e.g., search, summarization, or LLM prompts).

Inputs

FieldRequiredTypeDescriptionExample
file_idsTrueCARBON_FILE_IDSA list of Carbon file identifiers associated with the Google Cloud Storage integration. This should be a JSON-encoded array of file IDs provided by the Carbon connection/file selection UI.[12345, 67890]
queryFalseSTRINGOptional query to narrow down the selection of content returned from the provided files (e.g., keyword filter). If empty, full file contents are returned.error logs from last week

Outputs

FieldTypeDescriptionExample
OutputSTRINGA single concatenated text string containing the fetched file contents. Each file is wrapped as: \n\n. If files are chunked, the id may include a -chunk: suffix.\n...file content...\n\n\n...file content...\n

Important Notes

  • The file_ids input must be valid JSON representing an array of Carbon file IDs produced by the Carbon connection/file-selection UI.
  • This node is scoped to the Google Cloud Storage integration; ensure the selected files originate from GCS.
  • The salt_user_id input is automatically injected by the platform; do not override it manually.
  • If you provide a query, the Carbon service may return only matching portions or files; leave it empty to retrieve full content.

Troubleshooting

  • JSON decode error for file_ids: Ensure file_ids is a valid JSON array string (e.g., [12345, 67890]) and not a raw string or malformed JSON.
  • No content returned: Verify the selected file IDs are correct, the files are accessible to the user, and the Carbon connection to GCS is active.
  • Permission or authentication errors: Make sure the user is properly authenticated and has a valid Carbon connection to Google Cloud Storage.
  • Timeouts or request failures: Try again later, reduce the number of files requested, or narrow results with the query to limit response size.