Skip to content

New NotionCalloutBlock

fasteiner edited this page Jun 23, 2025 · 2 revisions

New-NotionCalloutBlock

SYNOPSIS

Creates a new Notion callout block object.

SYNTAX

New-NotionCalloutBlock [-RichText <Object[]>] [-Icon <Object>] [-Color <notion_color>]
 [<CommonParameters>]

DESCRIPTION

This function creates a new instance of the notion_callout_block class. All supported constructors of the class are covered:

  • No parameters (creates an empty callout)
  • With rich_text, icon, and color

EXAMPLES

EXAMPLE 1

New-NotionCalloutBlock -RichText "Hello" -Icon ":bulb:" -Color "yellow"

EXAMPLE 2

New-NotionCalloutBlock

PARAMETERS

-Color

The color for the callout block.

Type: notion_color
Parameter Sets: (All)
Aliases:
Accepted values: blue, blue_background, brown, brown_background, default, default_background, gray, gray_background, green, green_background, orange, orange_background, pink, pink_background, purple, purple_background, red, red_background, yellow, yellow_background

Required: False
Position: Named
Default value: Default
Accept pipeline input: False
Accept wildcard characters: False

-Icon

The icon (emoji or file) for the callout block.

Type: Object
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-RichText

The rich text content for the callout block.

Type: Object[]
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

notion_callout_block

NOTES

RELATED LINKS

Notion Module

Home
Module-FAQ
SetupOfIntegration

Commands
Classes
Enums

Clone this wiki locally