Search Attachments

Search for attachments in Greenhouse.

Options

Field Definition Type Required

Result Set

  • First 200 Records: Returns the first 200 matching records.
  • Stream Records: Passes all matching records from your parent flow to a helper flow. Selecting this option adds a Streaming input section to the card where you can select a helper flow for streaming and add custom extensible fields.
Dropdown TRUE

Input

Field Definition Type Required
Search Criteria

Created Before

Return only attachments that were created before the specified time stamp. The time stamp must be in ISO-8601 format.

Date & Time FALSE

Created After

Return only attachments that were created after the specified time stamp. The time stamp must be in ISO-8601 format.

Date & Time FALSE

Updated Before

Return only attachments that were updated before the specified time stamp. The time stamp must be in ISO-8601 format.

Date & Time FALSE

Updated After

Return only attachments that were updated after the specified time stamp. The time stamp must be in ISO-8601 format.

Date & Time FALSE

Attachment IDs

If supplied, the results return only the attachments with the given IDs. Supply as a comma-separated string, for example attachment_ids=123,456,789. A maximum of 50 attachment IDs can be allowed this way.

Text FALSE

Candidate IDs

If supplied, the results return only attachments that are associated with the specified candidate IDs. Supply as a comma-separated string, for example candidate_ids=123,456,789. A maximum of 50 candidate IDs can be allowed this way.

Text FALSE

Application IDs

If supplied, the results return only the applications with the given IDs. Supply as a comma-separated string, for example application_ids=123,456,789. A maximum of 50 application IDs can be allowed this way.

Text FALSE

Type

The type of the attachment.

  • resume
  • cover_letter
  • take_home_test
  • offer_packet
  • offer_letter
  • signed_offer_letter
  • form_attachment
  • midfunnel_agreement
  • automated_agreement
  • other
Dropdown FALSE
Custom Filter

Filter

To make your search more flexible, provide an API attribute name with value. Provide filters as key and value pairs separated by &, for example attr1=value1&attr2=value2&attr3=value3.

Text FALSE
Streaming

Flow

Select Choose Flow to browse and select a helper flow where the search results are streamed, then select Choose to confirm.

Optionally, select the empty field under Click or drop here to create and add custom extensible fields that pass data to the helper flow. These fields are added as key and value pairs under the State output object in the helper flow.

This field appears when you select Stream Records from the Result Set field.

Flow TRUE

Record Limit

Specify the number of records to stream.

  • When set to 0 or a negative number, the card returns an error.
  • When set to greater than 0, the stream returns up to the maximum number specified.
  • When not set, the stream returns all records.
  • The default value is 500000. The valid range is from 1 to 500000.
  • When set to greater than 500000, the card returns an error.

This field appears when you select Stream Records from the Result Set field.

Number FALSE

Output

Field Definition Type
Result

Attachments

This field appears if you select First 200 Records from the Result Set option. This field is a list of objects and each object contains the following fields.

List of Objects

ID

ID of the attachment.

Number

Application ID

The application ID that's associated with the attachment.

Number

Created At

The time stamp when the attachment was created, in ISO-8601 format.

Date & Time

Updated At

The time stamp when the attachment was updated, in ISO-8601 format.

Date & Time

Type

The type of the attachment.

Text

Candidate ID

ID of the candidate who's associated with the attachment.

Number

Filename

Filename of the attachment.

Text

URL

URL of the attachment.

Text

Records Streamed

The number of records that were streamed in a streaming flow. This field appears when you select Stream Records from the Result Set field.

Number