Skip to main content
Make Community

robot Bot Questions: Item data types explained?

Showcase
data-typesmake-bot-tips
  • blue_book Guidelines
  • ok_hand:t3 Do's and Don'ts
  • All Posts
  • Releases
  • Academy Courses
  • Blog Articles
  • Most Common Errors
  • Account and Billing
  • Make DevTool
  • Getting Started
  • How To
  • Features
  • Custom Apps
  • News
  • Showcase
  • Off-Topic
  • Hire a Pro
  • All categories
  • aggregators
  • arrays
  • connections
  • filters
  • iterator
  • mapping
  • router
  • scheduling
  • trigger
  • webhooks
  • All tags

robot Bot Questions: Item data types explained?

Showcase
data-typesmake-bot-tips

You have selected 0 posts.

select all

cancel selecting

Feb 2022
4 / 4
Sep 2022
Sep 2022
Make_Community_Bot
Feb 2022

:robot: Make Bot here bringing some of your FAQs to the community :robot:


:question:

Bonjour Makers!

I see that there are various ‘data types’ referred to in Make. Could someone explain the differences between a string, a collection, an array, etc.?

Also, is there an easy way of knowing which data type I’m dealing with at a certain moment?

Thank you so very much!


Solved by Bjorn.drivn in post #2
Great question! So what is a data type? A Data type is an attribute associated with a piece of data that tells a computer system how to interpret its value . Understanding data types ensures that data is collected in the preferred format and the value of each property is as expected. Let’s take a …

  • What is an array, an object, a collection of items?
  • tada 5k+ Makers Under the Community Roof
  • Etsy GetInventory from multiple listing IDs and save the output data? HELP PLEASE
  • How do I iterate through documents (bundles) from firestore?
Bjorn.drivnSolved 2
Feb 2022

Great question! So what is a data type?
A Data type is an attribute associated with a piece of data that tells a computer system how to interpret its value . Understanding data types ensures that data is collected in the preferred format and the value of each property is as expected.

Let’s take a look at the list of data types:

  • Text (or string)
  • Number (or integer)
  • Date
  • Array
  • Collection (or object)
  • Boolean

Data types explained
Text (string):
A text data type is as simple like it sounds, a piece of text or how they also call it a “string”.
In programming string is normally identified when you see quotes around it (“string”), but the Make platform identifies this for you so you won’t see that.

Number (integer)
A number is the same simple thing, a number interpreted by the program as a number (to be used in calculations for example), also called an Integer sometimes. Numbers can also be coming in as strings, but the moment you use them in calculations Make will make sure they are used as a number.

Date
A date is a type which is used for dates or date + time. Using this allows you for example to act upon specific calculations using the date (for example X days after 2022-12-31). The date type is very powerful but can be confusing sometimes, since it always has to be a “date” type if you want to do calculations with it, even if it comes in as a string.

Array
An array is one of the great data types used a lot within workflow automations. It is a data structure consisting of a collection of elements or variables, each identified by at least one array index or key. It allows you to do the same (or different) action for each item in an array, when you iterate over it.

Collection (object)
In programming it’s a certain kind of Object, is a grouping of some variable number of data items (possibly zero) that have some shared significance to the problem being solved and need to be operated upon together in some controlled fashion. It’s created with a JSON object using a key; value standard.

Boolean
Simple true or false is what they call a boolean. Great data type to check if certain value is as expected (if else statements).

How to identify the data type
In make, the platform identifies the incoming data for you so you can easily use it for calculations, modifications and what so on.
To identify this, you can go within the UI and look at the data output of a module:

Screenshot 2022-02-16 at 10.28.07
Screenshot 2022-02-16 at 10.28.07639×556 46.2 KB

If the output doesn’t show the data type, use another module to identify this. You can do it by:

  • Opening another module after the module you want to identify
  • Find the variable / dataset you want to identify
  • Hover over the item

Screenshot 2022-02-16 at 10.29.48
Screenshot 2022-02-16 at 10.29.48893×569 64.2 KB

Screenshot 2022-02-16 at 10.30.20
Screenshot 2022-02-16 at 10.30.20524×534 44.6 KB

In here you see the above items are a text and a date.

How to use/create the data type
You can create these variables/items yourself easily using the Make UI. As you can see in the screenshot below each section has it’s own “data type”.

Screenshot 2022-02-16 at 10.32.39
Screenshot 2022-02-16 at 10.32.39792×381 52.4 KB

Using these tabs within the UI, you can make basically all data types you want.

Screenshot 2022-02-16 at 10.34.37
Screenshot 2022-02-16 at 10.34.37786×605 43.4 KB

This should help you! If you need an expert to assist in your project feel free to contact us.
If you have any questions, put them down below!


heart
clap
11
Solution
  • How to filter data? (Routes & Filters)
MichaelaCommunity Manager
Feb 2022

Bjorn, thanks so much for this fantastic post! You truly covered the whole kit and caboodle. The only thing I’d like to add is that ‘boolean’ is a fun word to pronounce :sunglasses:


2
7 months later
alex.newpathCommunity Pioneer
Sep 2022
Bjorn.drivn:

It is a data structure consisting of a collection of elements or variables, each identified by at least one array index or key.

Amazing explanation! And very thorough too.

I would like to add that an array can have zero or more keys. An empty array is strictly speaking still an array.


3
  • I'm a beginner and want to master this tool
  • Learning Make Automations

Related topics

Topic list, column headers with buttons are sortable.
Topic Replies Views Activity
What is an array, an object, a collection of items?
Getting Started
arrayscollections
4.5k Sep 2022
Suggestion: Drop term “collection” in favor of “object”
Off-Topic
573 Jan 2023
Array of strings which should be numbers?
Custom Apps
arrays
21 Dec 2024
How to convert text data type to date data type?
How To
connectionsgoogle-sheetswebhooks
805 Feb 2024
Changing ‘item data type’ from ‘text’ to ‘number’
How To
2.3k Jun 2023
Useful links
  • Status Page
  • Customer Care
  • Make Website
  • Make Academy
  • Make Help Center
© 2024 Celonis Inc. All rights reserved.
With cookies we can ensure you get the best experience on our website. These cookies may incorporate data transfers to third-party providers based in countries without an adequate level of data protection. By clicking “Accept All Cookies”, you agree to the storage of cookies on your device to improve website navigation, analyze website usage, and assist in our marketing efforts. For further information, including the processing of data by third-party providers and the possibility of changing your preferences at any time, please see your settings under “Select Cookie settings” and the following links:
Company Logo

Privacy Preference Center

When you visit any website, it may store or retrieve information on your browser, mostly in the form of cookies. This information might be about you, your preferences or your device and is mostly used to make the site work as you expect it to. The information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies. Click on the different category headings to find out more and change our default settings. However, blocking some types of cookies may impact your experience of the site and the services we are able to offer.

Manage Consent Preferences

Necessary Cookies

Always Active

These cookies are strictly necessary for the website to function and cannot be switched off in our systems. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms. You can set your browser to block or alert you about these cookies, but some parts of the site will not then work. These cookies do not store any personally identifiable information.

Functional Cookies

These cookies enable the website to provide enhanced functionality and personalisation. They may be set by us or by third party providers whose services we have added to our pages. If you do not allow these cookies then some or all of these services may not function properly.

Marketing Cookies

These cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising.

Performance Cookies

These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us to know which pages are the most and least popular and see how visitors move around the site. All information these cookies collect is aggregated and therefore anonymous. If you do not allow these cookies we will not know when you have visited our site, and will not be able to monitor its performance.

Cookie List

Search Icon
label
Consent Leg.Interest
label
label
label
Powered by Onetrust
Your Privacy [`dialog closed`]