Send a Telegram message for each new Square order
This trigger fires when a new order is processed for the Square store
Developer info
- API endpoint slug
- square.new_order
Trigger fields
Location Dropdown list
- Label
- Location
- Slug
- location
- Required
- true
- Can have default value
- false
Order status Dropdown list
- Label
- Order Status
- Helper text
- Select a specific order status or leave as 'Any'
- Slug
- order_status
- Required
- true
- Can have default value
- true
Ingredients
Order The ID of the order
- Slug
- order_id
- Filter code
- Square.newOrder.OrderId
- Type
- String
- Example
- ORDER_123456
Order status The status of the order
- Slug
- order_status
- Filter code
- Square.newOrder.OrderStatus
- Type
- String
- Example
- COMPLETED
Location name The name of the location where the order was placed
- Slug
- location_name
- Filter code
- Square.newOrder.LocationName
- Type
- String
- Example
- Downtown Store
Total money The total amount of the order
- Slug
- total_money
- Filter code
- Square.newOrder.TotalMoney
- Type
- String
- Example
- $25.50
Tax money The tax amount of the order
- Slug
- tax_money
- Filter code
- Square.newOrder.TaxMoney
- Type
- String
- Example
- $2.50
Discount money The discount amount of the order
- Slug
- discount_money
- Filter code
- Square.newOrder.DiscountMoney
- Type
- String
- Example
- $5.00
Tip money The tip amount of the order
- Slug
- tip_money
- Filter code
- Square.newOrder.TipMoney
- Type
- String
- Example
- $3.00
Service charge money The service charge amount of the order
- Slug
- service_charge_money
- Filter code
- Square.newOrder.ServiceChargeMoney
- Type
- String
- Example
- $1.50
Currency The currency of the order
- Slug
- currency
- Filter code
- Square.newOrder.Currency
- Type
- String
- Example
- USD
Line item1 name The name of the first line item
- Slug
- line_item_1_name
- Filter code
- Square.newOrder.LineItem1Name
- Type
- String
- Example
- Coffee
Line item2 name The name of the second line item
- Slug
- line_item_2_name
- Filter code
- Square.newOrder.LineItem2Name
- Type
- String
- Example
- Sandwich
Line item3 name The name of the third line item
- Slug
- line_item_3_name
- Filter code
- Square.newOrder.LineItem3Name
- Type
- String
- Example
- Cookie
Line item1 quantity The quantity of the first line item
- Slug
- line_item_1_quantity
- Filter code
- Square.newOrder.LineItem1Quantity
- Type
- String
- Example
- 2
Line item2 quantity The quantity of the second line item
- Slug
- line_item_2_quantity
- Filter code
- Square.newOrder.LineItem2Quantity
- Type
- String
- Example
- 1
Line item3 quantity The quantity of the third line item
- Slug
- line_item_3_quantity
- Filter code
- Square.newOrder.LineItem3Quantity
- Type
- String
- Example
- 1
Customer first name The first name of the customer
- Slug
- customer_first_name
- Filter code
- Square.newOrder.CustomerFirstName
- Type
- String
- Example
- John
Customer last name The last name of the customer
- Slug
- customer_last_name
- Filter code
- Square.newOrder.CustomerLastName
- Type
- String
- Example
- Doe
Customer email address The email address of the customer
- Slug
- customer_email_address
- Filter code
- Square.newOrder.CustomerEmailAddress
- Type
- String
- Example
- john.doe@example.com
Customer phone number The phone number of the customer
- Slug
- customer_phone_number
- Filter code
- Square.newOrder.CustomerPhoneNumber
- Type
- String
- Example
- +1-555-123-4567
Customer address line1 The first line of the customer's address
- Slug
- customer_address_line_1
- Filter code
- Square.newOrder.CustomerAddressLine1
- Type
- String
- Example
- 123 Main St
Customer address line2 The second line of the customer's address
- Slug
- customer_address_line_2
- Filter code
- Square.newOrder.CustomerAddressLine2
- Type
- String
- Example
- Apt 4B
Customer address city The city of the customer's address
- Slug
- customer_address_city
- Filter code
- Square.newOrder.CustomerAddressCity
- Type
- String
- Example
- San Francisco
Customer address state The state of the customer's address
- Slug
- customer_address_state
- Filter code
- Square.newOrder.CustomerAddressState
- Type
- String
- Example
- CA
Customer address zip The ZIP code of the customer's address
- Slug
- customer_address_zip
- Filter code
- Square.newOrder.CustomerAddressZip
- Type
- String
- Example
- 94102
Customer address country The country of the customer's address
- Slug
- customer_address_country
- Filter code
- Square.newOrder.CustomerAddressCountry
- Type
- String
- Example
- US
Customer The ID of the customer
- Slug
- customer_id
- Filter code
- Square.newOrder.CustomerId
- Type
- String
- Example
- CUSTOMER_123456
Customer reference The reference ID of the customer
- Slug
- customer_reference_id
- Filter code
- Square.newOrder.CustomerReferenceId
- Type
- String
- Example
- REF_123456
Created at Date and time when the order was created
- Slug
- created_at
- Filter code
- Square.newOrder.CreatedAt
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06+05:00