View as Markdown
Lever icon

Lever ACTION

Submit Feedback

Submits an interview feedback form (scorecard) for an opportunity. Use this after an interview to record the interviewer's assessment. baseTemplateId is required — it identifies which feedback form template to submit against. Use List Feedback Templates to resolve the template id and its field IDs. panel and interview are optional but linked: if you specify one, you must specify the other. Use List Opportunity Items (resource=interviews) to find panel and interview IDs. Use List Opportunity Items (resource=feedback) to check if feedback has already been submitted for this panel. fieldValues is a JSON array of {"id": "<field_id>", "value": "<answer>"} objects; the field IDs and valid values come from the template returned by List Feedback Templates. Perform As is required — feedback is attributed to this user. Use List Users to find user IDs. Example: call with opportunityId="<id>", performAs="<userId>", baseTemplateId="<templateId>", fieldValues=[{"id": "<fieldId>", "value": "strong_yes"}] → submits the scorecard and returns the created feedback record. See the documentation
  • Action
  • Writes data
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Lever account once, then configure and run Submit Feedback from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "lever-submit-feedback",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    lever: { authProvisionId: "apn_xxxxxxx" },
    opportunityId: "Opportunity ID",
    performAs: "Perform As (User ID)",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Submit Feedback inputs
Property Type Description
opportunityId Opportunity ID string
The ID of the opportunity. Use Search Opportunities to find opportunity IDs.
Required
performAs Perform As (User ID) string
User ID of the interviewer submitting feedback — feedback is attributed to this user. Use List Users to find user IDs.
Required
baseTemplateId Feedback Template ID string
UID of the feedback form template to submit. Obtain from your Lever account's feedback template list.
Required
panelId Panel ID string
Interview panel UID. Required if Interview ID is specified. Use List Opportunity Items (resource=interviews) to find panel IDs.
Optional
interviewId Interview ID string
Interview UID within the panel. Required if Panel ID is specified. Use List Opportunity Items (resource=interviews) to find interview IDs.
Optional
fieldValues Field Values (JSON) string
JSON array of field responses. Each item must have an id (field UID from the template) and a value. Example: [{"id": "abc123", "value": "Strong communicator"}, {"id": "def456", "value": "3 - Hire"}]
Optional

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
lever-submit-feedback
Version
0.0.2
App
Lever
Authentication
OAuth
Read-only
No
Destructive
No
Open world
Yes