Skip to main content
Attaches a reply from an administrator or supervisor to an existing feedback item. The reply is stored alongside the original submission and is visible in the feedback management panel. Endpoint: FEEDBACK service Action: replyToFeedback

Request

action
string
required
Must be "replyToFeedback".
payload.itemId
number
required
The ID of the feedback item to reply to.
payload.itemType
string
required
The type of the feedback item. Either "problem_report" or "contact".
payload.replyText
string
required
The reply message to attach to the feedback item.
payload.responderName
string
required
The full name of the administrator or supervisor writing the reply.

Response

status
string
required
Always "success" on success.

Example

const FEEDBACK_ENDPOINT = 'https://script.google.com/macros/s/AKfycbwHTr8MSFuNio8rky8tflcErlRlAb1YSH2jmszZp77SM5e_-SVMO2pBU1UmeGOH1Aig/exec';

const response = await fetch(FEEDBACK_ENDPOINT, {
  method: 'POST',
  headers: { 'Content-Type': 'text/plain' },
  body: JSON.stringify({
    action: 'replyToFeedback',
    payload: {
      itemId: 15,
      itemType: 'problem_report',
      replyText: 'Gracias por el reporte. Hemos corroborado el color del cable y actualizamos el registro.',
      responderName: 'Ana Torres'
    }
  }),
  redirect: 'follow'
});

const result = await response.json();
if (result.status === 'success') {
  console.log('Reply saved to feedback item 15');
}

Build docs developers (and LLMs) love