Generate Snowflake ID

BlockUtilities

Generate a unique Snowflake-like ID.

Outputs

Snowflake ID

Generated identifier.

Example: 123456789012345678

Build a bot using blocks like Generate Snowflake ID

Use this block in our visual flow editor. Bots are hosted 24/7 for free on inventor.bot.

Advanced Documentation

This documentation can be useful when using code mode. View as Markdown

ID: generate_snowflake_id

Outputs

FieldInventScript nameValue
Snowflake IDsnowflake_ide.g. "123456789012345678"

Example InventScript

snowflakeId := generate_snowflake_id()
send_text_message(Args{
	channel_id:      trigger.channel_id,
	message_content: "Snowflake ID: " + snowflakeId.snowflake_id,
})

More utilities blocks