Vigoba icon

Vigoba

Automate your digital goodie bag workflows with Vigoba

Goody → Update

AI-generated

Summary

Updates an existing Goody within a Goodie Bag by setting specific fields.

Inputs

  • goodieBagId (required) — The Goodie Bag containing the goodies. Choose from the list, or specify an ID using an expression.
  • goodyId (required) — The Goody to operate on. Choose from the list, or specify an ID using an expression.
  • updateFields — A collection of fields to update. Only provided fields are sent to the API. Options include Active (boolean), Button Text, Code, Content, Description, Embed URL, File URL, Name, Position, Terms, URL, Valid Until, and Voucher Value.

Output shape

a single record

The operation returns the updated Goody object.

Examples

Example 1: Modify an active status

Set updateFields.isActive to false to deactivate the goody.

Example 2: Update content and position

Set updateFields.content to new text and updateFields.position to 5 to move the goody.

Example 3: Change voucher value

Set updateFields.voucherValue to '30%' to update the displayed value.

Links

Discussion