
Slack SectionsLookup
CertifiedFind sections within a canvas
Slack SectionsLookup
Certified
Find sections within a canvas
Searches a canvas for sections matching provided criteria (text, types, etc.) and returns matching sections.
yaml
type: io.kestra.plugin.slack.app.canvases.SectionsLookupExamples
Find a section containing specific text
yaml
id: slack_canvas_section_lookup
namespace: company.team
tasks:
- id: lookup_section
type: io.kestra.plugin.slack.app.canvases.SectionsLookup
token: "{{ secret('SLACK_TOKEN') }}"
canvasId: "F1234567890"
criteria:
containsText: "Project Status"
Properties
canvasId *Requiredstring
Canvas ID
Canvas to search for matching sections.
criteria *Requiredobject
Section search criteria
Map converted to Slack Criteria; supports fields such as containsText or sectionTypes.
token *Requiredstring
Slack token
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
Outputs
sections array
Sections returned
Definitions
com.slack.api.model.canvas.CanvasDocumentSection
idstring