Blocks Documentation home page
Search...
⌘K
About
What is Blocks?
Motivation
Getting Started
Installation
Hub
API Keys
CLI
Workspaces
Automations
Versioning
Decorators
Events
Keyword Triggers
Environment Variables
Config Model
CLI
configure
create
init
push
test
Events
github.issue_comment
github.issues
github.pull_request
github.pull_request_comment
github.pull_request_review
github.pull_request_review_comment
linear.issues
schedule.daily
schedule.weekly
slack.mention
webhook
Decorators
@task
@on
SDK
bash
experimental_bash
config
git
repo
Guides
Assigning Repositories
Installing Automations
Creating Automations
Enabling and Disabling Automations
Registering Automations
Testing Automations
Dashboard
Blocks Documentation home page
Search...
⌘K
Dashboard
Dashboard
Search...
Navigation
Events
schedule.weekly
On this page
Fields
Events
schedule.weekly
This event triggers an automation once per Monday at 1:00 PM UTC. The specific day and time is not currently configurable.
If you need to configure a specific day and time, please reach out to us at
support@blocksorg.com
.
Copy
@on
(
"schedule.weekly"
)
def
automation
(
input
):
pass
The following is an example payload which is passed in as an argument to your automation’s entrypoint:
json
automation.py
Copy
{
"triggered_at"
:
"2024-01-01T00:00:00Z"
}
Fields
triggered_at
string
The date and time the automation was triggered.
schedule.daily
slack.mention
Assistant
Responses are generated using AI and may contain mistakes.