manage_product
Changes data
Create and change products, who can open them, and their feedback endpoints. Admins only, except update, add_feedback_endpoint and revoke_feedback_endpoint, which product Owners may do.
Set action to one of these:
create(needsbody): Add a product to an existing organization; for a new company with no organization, usemanage_organizationwith actioncreate. Choose a new uuid asidso that a retry is safe: a repeat with the same id answers the product the first call made; a different organization or another product's id is refused (conflict). It reads no knowledge base yet: callmanage_knowledge_basewith actionstart_readnext to find the features.update(needsproductId,body): Change a product's name, description, knowledge base address orreportBy: send the fields to change; it answers the product withreporting, asgetdoes. A new address is read at the next knowledge base read (manage_knowledge_basewith actionstart_read). The same values again change nothing, so a retry is safe.delete(needsproductId): Delete a product: it is hidden from everyone and paused (CRM syncs pause, feedback endpoints refuse feedback).manage_productwith actionrestoreundoes it until the answer'srestorableUntil, 30 days on; then it is removed for good with all its data. Make sure the person means this product, and tell them until when it can be restored. Repeating it changes nothing, so a retry is safe.restore(needsproductId): Bring a deleted product back before itsrestorableUntil: access, CRM syncs and feedback endpoints work again. Later it answers not found. Repeating it changes nothing, so a retry is safe.grant_access(needsproductId,userId,body): Give a member Owner or Viewer access to a product, or change it. Only for a User of the product's organization (not_a_memberotherwise); Admins own every product (admin_owner). Repeating the same request changes nothing, so a retry is safe.revoke_access(needsproductId,userId): Take a member's access to a product away; give it back withgrant_access. Taking away access nobody holds is not an error, so a retry is safe; Admins own every product and cannot lose it (admin_owner).add_feedback_endpoint(needsproductId,body): Add a feedback endpoint, a named way in for feedback from one tool (a form, Zapier, a support desk), and get the keysend_feedbacktakes. The key is in this answer only: give it to the person or use it at once. Choose a new uuid asidso that a retry is safe: a repeat with the same id answers the same endpoint with a new key, and the earlier key stops working.revoke_feedback_endpoint(needsproductId,connectionId): Revoke a feedback endpoint: its key stops working at once, for good; feedback it sent stays. Add a new one withmanage_productwith actionadd_feedback_endpointif the tool still needs one. This can't be undone, so Heuristic asks the person first (seeconfirm).
Actions (set action)
create
- Who can use it
- Admins
- Hints
- Changes dataSafe to repeat
- Runs
create_product- Inputs
bodyobject, requiredThe product.
organizationIdis the organization's id, fromget_me.idis a new uuid you choose so that a retry is safe: a repeat with the same id answers the product the first call made.organizationIdstring, requiredAn id (a uuid), from an earlier result.
idstringOptional: a new uuid you choose for what this call creates, so that a retry is safe: a repeat with the same id answers what the first call made.
namestring, requiredThe product's name, 1 to 100 characters, on one line.
knowledgeBaseUrlstring, requiredThe product's public documentation site, an http or https address such as https://docs.example.com; never a local or private address. Heuristic reads it to find the product's features.
descriptionstringWhat the product is, up to 500 characters. Empty when left out.
update
- Who can use it
- Admins and the product's Owners
- Hints
- Changes dataSafe to repeat
- Runs
update_product- Inputs
productIdstring, requiredFrom
read_productwith actionlistorget_me.bodyobject, requiredThe details to change; send at least one. Fields left out stay as they are.
namestringThe product's name, 1 to 100 characters, on one line.
descriptionstringWhat the product is, up to 500 characters.
knowledgeBaseUrlstringThe product's public documentation site, an http or https address such as https://docs.example.com; never a local or private address. Heuristic reads it to find the product's features.
reportBystringWhat every trend and change of the product's feedback reports by:
week,month,quarter, orauto(the default), which picks the unit from the product's feedback volume.Allowed values:auto,week,month,quarter
delete
- Who can use it
- Admins
- Hints
- Changes dataCan remove dataSafe to repeat
- Runs
delete_product- Inputs
productIdstring, requiredFrom
read_productwith actionlistorget_me.
restore
- Who can use it
- Admins
- Hints
- Changes dataSafe to repeat
- Runs
restore_product- Inputs
productIdstring, requiredFrom
read_productwith actionlistorget_me.
grant_access
- Who can use it
- Admins
- Hints
- Changes dataSafe to repeat
- Runs
grant_product_access- Inputs
productIdstring, requiredFrom
read_productwith actionlistorget_me.userIdstring, requiredThe member's user id, from
read_organizationwith actionmembersorread_productwith actionaccess.bodyobject, requiredThe access to give.
accessstring, requiredownerreads and changes the product's data;vieweronly reads it.Allowed values:owner,viewer
revoke_access
- Who can use it
- Admins
- Hints
- Changes dataSafe to repeat
- Runs
revoke_product_access- Inputs
productIdstring, requiredFrom
read_productwith actionlistorget_me.userIdstring, requiredThe member's user id, from
read_organizationwith actionmembersorread_productwith actionaccess.
add_feedback_endpoint
- Who can use it
- Admins and the product's Owners
- Hints
- Changes dataSafe to repeat
- Runs
add_feedback_endpoint- Inputs
productIdstring, requiredFrom
read_productwith actionlistorget_me.bodyobject, requiredThe endpoint.
idis a new uuid you choose so that a retry is safe; a repeat with the same id answers the same endpoint with a new key.idstringOptional: a new uuid you choose for what this call creates, so that a retry is safe: a repeat with the same id answers what the first call made.
namestring, requiredWhat sends feedback through it, such as Zapier or Support form: 1 to 100 characters on one line.
revoke_feedback_endpoint
- Who can use it
- Admins and the product's Owners
- Hints
- Changes dataCan remove dataAsks the person to confirm
- Runs
revoke_feedback_endpoint- Inputs
productIdstring, requiredFrom
read_productwith actionlistorget_me.connectionIdstring, requiredThe feedback endpoint's id, from
read_productwith actionfeedback_endpoints.confirmbooleanTrue only after the person said yes to the question a first call answered with
confirmation_required. Ignored when your app can show the person questions: Heuristic then asks them itself.