Vigoba icon

Vigoba

Automate your digital goodie bag workflows with Vigoba

Goody → Create

AI-generated

Summary

Creates a new digital goodie item within a specified Goodie Bag.

Inputs

  • goodieBagId (required) — The Goodie Bag containing the goodies. Choose from the list, or specify an ID using an expression.
  • type (required) — Type of the Goody (code, download, embed, link, text, or voucher).
  • name (required) — Name of the Goody.
  • url — URL for the link goody (required when type is 'link').
  • code — The code or voucher value (required when type is 'code' or 'voucher').
  • fileUrl — URL to the file to be downloaded (required when type is 'download').
  • content — Markdown content for text goody (required when type is 'text').
  • embedUrl — YouTube, Vimeo, or Spotify URL (required when type is 'embed').
  • additionalFields — Optional settings such as active status, button text, description, position, terms, validity date, or voucher value.

Output shape

A list of items, each containing the created goody data.

The returned data reflects the API response for the newly created goody.

Examples

Example 1: Create a simple download link goody named 'Manual.pdf'.

Type: download, Name: Manual.pdf, File URL: https://example.com/manual.pdf

Example 2: Create a voucher goodie with a 20% discount.

Type: voucher, Name: 20% Discount, Code: 20OFF, Additional Fields: Voucher Value: 20%

Example 3: Create an embed goodie for a YouTube video.

Type: embed, Name: Intro Video, Embed URL: https://youtube.com/watch?v=...

Links

Discussion