Identify Elements in a Text
Automation procedure for finding elements within a given text.
Overview
Find specific elements within a given string. This operation supports singular and plural forms and can process associated questions or options.
Syntax
Inputs
Required
items
The item(s) to locate within the text, which can be singular or plural.
This can be a noun or a noun with adjectives (ex:
animal
,cute animals
).
the text
The target string in which the item(s) are to be found.
Optional
options
A list of options from which the thing is to be identified.
question
A question related to the item that the function will attempt to answer based on the content of the string.
format
The desired format of the response.
Default: string
Allowed Values:
string
text
date
table
list of texts
list of numbers
list of dates
list of records
structured data
json
Example 1
đź’¬ Prompt
📝 Breakdown
Text: The project was completed by John, Sarah, and Tim.
Items: people
Results: John, Sarah, Tim
Example 2
đź’¬ Prompt
📝 Breakdown
Text: Today we saw a puppy and three kittens at the pet shop.
Items: very cute animals
Results: puppy, kittens
Example 3
đź’¬ Prompt
📝 Breakdown
Text: Hey Emily, I just wanted to tell you about some awesome places I visited during my vacation: Bali, Paris, and Tokyo. Can't wait to share my photos!
Items: places
Results: Bali, Paris, Tokyo
Example 4
đź’¬ Prompt
📝 Breakdown
Text: Reminder: Don't forget to check out the new cafés I visited this weekend: Java House and Café Mocha.
Items: sweet spots
Results: Java House, Café Mocha
Last updated
Was this helpful?