About this trigger
Triggers, queries, and actions are the building blocks of Applets. Triggers tell an Applet to start, queries ask a question, and actions are its end result.
Developer info
- Description
- This trigger fires when you add an attachment (like a receipt, or photo) to a transaction.
- API endpoint slug
- monzo.attachment_added
Trigger fields
Category Dropdown list
- Label
- Which category?
- Helper text
- You can use this to only include attachments you add to a purchase with a specific category.
- Slug
- category
- Required
- true
- Can have default value
- false
Ingredients
Attachment IDA unique ID for this attachment.
- Slug
- attachment_id
- Filter code
- Monzo.attachmentAdded.AttachmentId
- Type
- String
- Example
- attach_00002804aOAIvVqfb9LrZh
Attachment URLThe URL of the image you attached.
- Slug
- attachment_url
- Filter code
- Monzo.attachmentAdded.AttachmentUrl
- Type
- Image URL
- Example
- https://attachments.monzo.com/attachment_100248.png
Attachment typeThe filetype of this attachment.
- Slug
- attachment_type
- Filter code
- Monzo.attachmentAdded.AttachmentType
- Type
- String
- Example
- image/png
Transaction IDA unique ID of the transaction for this attachment.
- Slug
- transaction_id
- Filter code
- Monzo.attachmentAdded.TransactionId
- Type
- String
- Example
- tx_02804zIcpb1TB4yeIFXMzx
Merchant nameThe merchant this attachment relates to.
- Slug
- merchant_name
- Filter code
- Monzo.attachmentAdded.MerchantName
- Type
- String
- Example
- Starbucks
Merchant addressThe address of the merchant for this attachment.
- Slug
- merchant_address
- Filter code
- Monzo.attachmentAdded.MerchantAddress
- Type
- String
- Example
- 98 Southgate Road
Merchant country codeThe three-letter ISO country code of the merchant for this transaction.
- Slug
- merchant_country_code
- Filter code
- Monzo.attachmentAdded.MerchantCountryCode
- Type
- String
- Example
- GBR
Merchant logoThe logo image URL of the merchant for this transaction.
- Slug
- merchant_logo
- Filter code
- Monzo.attachmentAdded.MerchantLogo
- Type
- Image URL
- Example
- https://www.monzo.com/logo.png
CategoryThe transaction category when you added this attachment.
- Slug
- category
- Filter code
- Monzo.attachmentAdded.Category
- Type
- String
- Example
- Expenses
NotesThe transaction's notes when you added this attachment.
- Slug
- notes
- Filter code
- Monzo.attachmentAdded.Notes
- Type
- String
- Example
- Breakfast at Bill's
EmojiThe emoji of the transaction to which you added this attachment.
- Slug
- emoji
- Filter code
- Monzo.attachmentAdded.Emoji
- Type
- String
- Example
- Any emoji
Amount in account currencyThe amount you spent converted into your account's main currency.
- Slug
- amount_in_account_currency
- Filter code
- Monzo.attachmentAdded.AmountInAccountCurrency
- Type
- String
- Example
- 5.34
Account currency symbolThe currency symbol of your account's main currency.
- Slug
- account_currency_symbol
- Filter code
- Monzo.attachmentAdded.AccountCurrencySymbol
- Type
- String
- Example
- £
Account currency codeThe currency code of your account's main currency.
- Slug
- account_currency_code
- Filter code
- Monzo.attachmentAdded.AccountCurrencyCode
- Type
- String
- Example
- GBP
Amount in local currencyThe amount you spent in the local currency.
- Slug
- amount_in_local_currency
- Filter code
- Monzo.attachmentAdded.AmountInLocalCurrency
- Type
- String
- Example
- 5.34
Local currency symbolThis will differ to your account's main currency symbol if you were abroad.
- Slug
- local_currency_symbol
- Filter code
- Monzo.attachmentAdded.LocalCurrencySymbol
- Type
- String
- Example
- $
Local currency codeThis will differ to your account's main currency code if you were abroad.
- Slug
- local_currency_code
- Filter code
- Monzo.attachmentAdded.LocalCurrencyCode
- Type
- String
- Example
- USD
Upload timeThe date and time you uploaded the attachment.
- Slug
- upload_time
- Filter code
- Monzo.attachmentAdded.UploadTime
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
Transaction timeThe date and time of the transaction.
- Slug
- transaction_time
- Filter code
- Monzo.attachmentAdded.TransactionTime
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00