Actions
Read about the Actions in your Ebbot workflow servers when using the Integrations SDK on this page.
How Actions are discovered
Define an Action
from pydantic import BaseModel, Field
from integrations_sdk.component import workflow_action
class Result(BaseModel):
result: str = Field(description="The end result")
class HelloError(BaseModel):
message: str
class HelloArguments(BaseModel):
name: str
@workflow_action(
description="Say hello.",
result=Result,
errors=[HelloError, {"type": "string"}],
display_name="Say hello",
docs="How the say_hello action works",
arguments=HelloArguments,
argument_docs={
"name": "The name of the person to greet.",
},
)
def say_hello(name: str) -> Result:
return Result(result=f"Hello {name}")Action arguments vs. function signature
Using connection env and secrets
Dynamic field metadata
Manifest behavior
Runtime execution
Last updated
Was this helpful?

